#CFC23E#CFC23E

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

Color values

HEX#CFC23E
RGBrgb(207, 194, 62)
HSLhsl(55, 60%, 53%)
HSVhsv(55, 70%, 81%)
CMYKcmyk(0%, 6.3%, 70%, 18.8%)
CIE-LABlab(77.40, -10.32, 64.58)
CIE-LCHlch(77.40, 65.40, 99.08°)
OKLaboklab(80.16% -0.0348 0.1437)
OKLCHoklch(80.16% 0.148 103.6)
XYZxyz(45.8953, 52.1986, 12.2143)
Luminance0.5220 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC23E #3E4BCF
analogous
#CF7A3E #CFC23E #93CF3E
triadic
#CFC23E #3ECFC2 #C23ECF
tetradic
#CFC23E #3ECF7A #3E4BCF #CF3E93
square
#CFC23E #3ECF7A #3E4BCF #CF3E93
split-complementary
#CFC23E #3E93CF #7A3ECF
monochromatic
#756D1D #A69B29 #CFC23E #DBD16F #E7E1A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC23E#FFFFFF#000000##000000
##CFC23E1.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)
#D3BC29
Deuteranopia (green-blind)
#D7C247
Tritanopia (blue-blind)
#DEB5A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc23e;
/* rgb */ color: rgb(207, 194, 62);
/* oklch */ color: oklch(80.2% 0.148 103.6);
Tailwind
colors: {
  custom: {
    50: '#e1d47b',
    500: '#cfc23e',
    950: '#000000',
  },
}
SCSS
$custom: #cfc23e;
$custom-light: #e1d47b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc23e",
  "rgb": {
    "r": 207,
    "g": 194,
    "b": 62
  },
  "hsl": {
    "h": 54.621,
    "s": 60.166,
    "l": 52.745
  },
  "oklch": {
    "l": 0.80163,
    "c": 0.14782,
    "h": 103.6
  },
  "luminance": 0.52197
}

Semantic roles & 50–950 ramp

primary
#CFC23E
secondary
#333A7E
accent
#53E344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFC23E

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

Preview Lab → · Contrast checker → · Palette generator →

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