#CFC23C#CFC23C

#CFC23C is a light, vivid yellow. Relative luminance 0.522; OKLCH L 80.1% C 0.149 H 103.7°. Best body text is #000000 at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#CFC23C
RGBrgb(207, 194, 60)
HSLhsl(55, 60%, 52%)
HSVhsv(55, 71%, 81%)
CMYKcmyk(0%, 6.3%, 71%, 18.8%)
CIE-LABlab(77.39, -10.42, 65.31)
CIE-LCHlch(77.39, 66.13, 99.06°)
OKLaboklab(80.15% -0.0353 0.1449)
OKLCHoklch(80.15% 0.149 103.7)
XYZxyz(45.8415, 52.1771, 11.9306)
Luminance0.5218 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC23C #3C49CF
analogous
#CF793C #CFC23C #92CF3C
triadic
#CFC23C #3CCFC2 #C23CCF
tetradic
#CFC23C #3CCF79 #3C49CF #CF3C92
square
#CFC23C #3CCF79 #3C49CF #CF3C92
split-complementary
#CFC23C #3C92CF #793CCF
monochromatic
#746C1D #A59A29 #CFC23C #DBD16D #E7E19E

Accessibility & contrast

On white

1.84
#CFC23C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.44
#CFC23C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC23C
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC23C#FFFFFF#000000##000000
##CFC23C1.001.8411.4411.44
#FFFFFF1.841.0021.0021.00
#00000011.4421.001.001.00
##00000011.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC26
Deuteranopia (green-blind)
#D8C245
Tritanopia (blue-blind)
#DEB5A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc23c;
/* rgb */ color: rgb(207, 194, 60);
/* oklch */ color: oklch(80.1% 0.149 103.7);
Tailwind
colors: {
  custom: {
    50: '#e1d47a',
    500: '#cfc23c',
    950: '#000000',
  },
}
SCSS
$custom: #cfc23c;
$custom-light: #e1d47a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc23c",
  "rgb": {
    "r": 207,
    "g": 194,
    "b": 60
  },
  "hsl": {
    "h": 54.694,
    "s": 60.494,
    "l": 52.353
  },
  "oklch": {
    "l": 0.80149,
    "c": 0.14909,
    "h": 103.7
  },
  "luminance": 0.52175
}

Semantic roles & 50–950 ramp

primary
#CFC23C
secondary
#33397D
accent
#52E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFC23C

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

Preview Lab → · Contrast checker → · Palette generator →

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