#CFC23F#CFC23F

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

Color values

HEX#CFC23F
RGBrgb(207, 194, 63)
HSLhsl(55, 60%, 53%)
HSVhsv(55, 70%, 81%)
CMYKcmyk(0%, 6.3%, 69.6%, 18.8%)
CIE-LABlab(77.41, -10.27, 64.21)
CIE-LCHlch(77.41, 65.02, 99.09°)
OKLaboklab(80.17% -0.0346 0.1431)
OKLCHoklch(80.17% 0.147 103.6)
XYZxyz(45.9230, 52.2097, 12.3602)
Luminance0.5221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC23F #3F4CCF
analogous
#CF7A3F #CFC23F #94CF3F
triadic
#CFC23F #3FCFC2 #C23FCF
tetradic
#CFC23F #3FCF7A #3F4CCF #CF3F94
square
#CFC23F #3FCF7A #3F4CCF #CF3F94
split-complementary
#CFC23F #3F94CF #7A3FCF
monochromatic
#766E1E #A79C2A #CFC23F #DBD270 #E7E1A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC23F#FFFFFF#000000##000000
##CFC23F1.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)
#D3BC2B
Deuteranopia (green-blind)
#D7C248
Tritanopia (blue-blind)
#DEB5A8
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc23f;
/* rgb */ color: rgb(207, 194, 63);
/* oklch */ color: oklch(80.2% 0.147 103.6);
Tailwind
colors: {
  custom: {
    50: '#e1d47c',
    500: '#cfc23f',
    950: '#000000',
  },
}
SCSS
$custom: #cfc23f;
$custom-light: #e1d47c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc23f",
  "rgb": {
    "r": 207,
    "g": 194,
    "b": 63
  },
  "hsl": {
    "h": 54.583,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.80171,
    "c": 0.14717,
    "h": 103.6
  },
  "luminance": 0.52208
}

Semantic roles & 50–950 ramp

primary
#CFC23F
secondary
#343A7F
accent
#53E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFC23F

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

Preview Lab → · Contrast checker → · Palette generator →

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