#CFC75E#CFC75E

#CFC75E is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.5% C 0.127 H 104.9°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#CFC75E
RGBrgb(207, 199, 94)
HSLhsl(56, 54%, 59%)
HSVhsv(56, 55%, 81%)
CMYKcmyk(0%, 3.9%, 54.6%, 18.8%)
CIE-LABlab(79.00, -10.80, 52.71)
CIE-LCHlch(79.00, 53.81, 101.58°)
OKLaboklab(81.52% -0.0327 0.123)
OKLCHoklch(81.52% 0.127 104.9)
XYZxyz(48.1774, 54.9219, 18.6507)
Luminance0.5492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC75E #5E66CF
analogous
#CF8F5E #CFC75E #9FCF5E
triadic
#CFC75E #5ECFC7 #C75ECF
tetradic
#CFC75E #5ECF8F #5E66CF #CF5E9F
square
#CFC75E #5ECF8F #5E66CF #CF5E9F
split-complementary
#CFC75E #5E9FCF #8F5ECF
monochromatic
#8A8329 #B9B037 #CFC75E #DDD78D #EBE8BC

Accessibility & contrast

On white

1.75
#CFC75E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.98
#CFC75E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC75E
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC75E#FFFFFF#000000##000000
##CFC75E1.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C154
Deuteranopia (green-blind)
#D9C663
Tritanopia (blue-blind)
#DDBBB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc75e;
/* rgb */ color: rgb(207, 199, 94);
/* oklch */ color: oklch(81.5% 0.127 104.9);
Tailwind
colors: {
  custom: {
    50: '#e0d78f',
    500: '#cfc75e',
    950: '#000000',
  },
}
SCSS
$custom: #cfc75e;
$custom-light: #e0d78f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc75e",
  "rgb": {
    "r": 207,
    "g": 199,
    "b": 94
  },
  "hsl": {
    "h": 55.752,
    "s": 54.067,
    "l": 59.02
  },
  "oklch": {
    "l": 0.8152,
    "c": 0.12729,
    "h": 104.9
  },
  "luminance": 0.5492
}

Semantic roles & 50–950 ramp

primary
#CFC75E
secondary
#414790
accent
#55DD4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #CFC75E

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

Preview Lab → · Contrast checker → · Palette generator →

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