#CFC05E#CFC05E

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

Color values

HEX#CFC05E
RGBrgb(207, 192, 94)
HSLhsl(52, 54%, 59%)
HSVhsv(52, 55%, 81%)
CMYKcmyk(0%, 7.2%, 54.6%, 18.8%)
CIE-LABlab(77.15, -7.22, 50.57)
CIE-LCHlch(77.15, 51.09, 98.12°)
OKLaboklab(80.05% -0.0224 0.1184)
OKLCHoklch(80.05% 0.121 100.7)
XYZxyz(46.6037, 51.7746, 18.1261)
Luminance0.5177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC05E #5E6DCF
analogous
#CF885E #CFC05E #A6CF5E
triadic
#CFC05E #5ECFC0 #C05ECF
tetradic
#CFC05E #5ECF88 #5E6DCF #CF5EA6
square
#CFC05E #5ECF88 #5E6DCF #CF5EA6
split-complementary
#CFC05E #5EA6CF #885ECF
monochromatic
#8A7D29 #B9A837 #CFC05E #DDD28D #EBE5BC

Accessibility & contrast

On white

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

On black

11.35
#CFC05E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC05E
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC05E#FFFFFF#000000##000000
##CFC05E1.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBB55
Deuteranopia (green-blind)
#D4C163
Tritanopia (blue-blind)
#DDB4AA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfc05e;
/* rgb */ color: rgb(207, 192, 94);
/* oklch */ color: oklch(80.0% 0.120 100.7);
Tailwind
colors: {
  custom: {
    50: '#e0d28e',
    500: '#cfc05e',
    950: '#000000',
  },
}
SCSS
$custom: #cfc05e;
$custom-light: #e0d28e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc05e",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 94
  },
  "hsl": {
    "h": 52.035,
    "s": 54.067,
    "l": 59.02
  },
  "oklch": {
    "l": 0.8005,
    "c": 0.1205,
    "h": 100.7
  },
  "luminance": 0.51773
}

Semantic roles & 50–950 ramp

primary
#CFC05E
secondary
#414C90
accent
#5EDD4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC05E

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

Preview Lab → · Contrast checker → · Palette generator →

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