#CFC141#CFC141

#CFC141 is a light, vivid yellow. Relative luminance 0.518; OKLCH L 80.0% C 0.145 H 103.0°. Best body text is #000000 at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#CFC141
RGBrgb(207, 193, 65)
HSLhsl(54, 60%, 53%)
HSVhsv(54, 69%, 81%)
CMYKcmyk(0%, 6.8%, 68.6%, 18.8%)
CIE-LABlab(77.15, -9.65, 63.19)
CIE-LCHlch(77.15, 63.92, 98.69°)
OKLaboklab(79.97% -0.0326 0.1412)
OKLCHoklch(79.97% 0.145 103)
XYZxyz(45.7581, 51.7888, 12.5860)
Luminance0.5179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC141 #414FCF
analogous
#CF7A41 #CFC141 #96CF41
triadic
#CFC141 #41CFC1 #C141CF
tetradic
#CFC141 #41CF7A #414FCF #CF4196
square
#CFC141 #41CF7A #414FCF #CF4196
split-complementary
#CFC141 #4196CF #7A41CF
monochromatic
#776F1E #A89C2B #CFC141 #DBD172 #E8E1A3

Accessibility & contrast

On white

1.85
#CFC141 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.36
#CFC141 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC141
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC141#FFFFFF#000000##000000
##CFC1411.001.8511.3611.36
#FFFFFF1.851.0021.0021.00
#00000011.3621.001.001.00
##00000011.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB2E
Deuteranopia (green-blind)
#D7C149
Tritanopia (blue-blind)
#DEB4A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfc141;
/* rgb */ color: rgb(207, 193, 65);
/* oklch */ color: oklch(80.0% 0.145 103.0);
Tailwind
colors: {
  custom: {
    50: '#e1d37d',
    500: '#cfc141',
    950: '#000000',
  },
}
SCSS
$custom: #cfc141;
$custom-light: #e1d37d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc141",
  "rgb": {
    "r": 207,
    "g": 193,
    "b": 65
  },
  "hsl": {
    "h": 54.085,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.79975,
    "c": 0.14496,
    "h": 103
  },
  "luminance": 0.51787
}

Semantic roles & 50–950 ramp

primary
#CFC141
secondary
#343C80
accent
#55E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFC141

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#CFC141 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva