#CFC95E#CFC95E

#CFC95E is a light, vivid yellow. Relative luminance 0.558; OKLCH L 81.9% C 0.129 H 106.0°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#CFC95E
RGBrgb(207, 201, 94)
HSLhsl(57, 54%, 59%)
HSVhsv(57, 55%, 81%)
CMYKcmyk(0%, 2.9%, 54.6%, 18.8%)
CIE-LABlab(79.53, -11.82, 53.32)
CIE-LCHlch(79.53, 54.62, 102.50°)
OKLaboklab(81.94% -0.0356 0.1243)
OKLCHoklch(81.94% 0.129 106)
XYZxyz(48.6406, 55.8483, 18.8051)
Luminance0.5585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC95E #5E64CF
analogous
#CF915E #CFC95E #9DCF5E
triadic
#CFC95E #5ECFC9 #C95ECF
tetradic
#CFC95E #5ECF91 #5E64CF #CF5E9D
square
#CFC95E #5ECF91 #5E64CF #CF5E9D
split-complementary
#CFC95E #5E9DCF #915ECF
monochromatic
#8A8429 #B9B237 #CFC95E #DDD98D #EBE9BC

Accessibility & contrast

On white

1.73
#CFC95E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.17
#CFC95E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC95E
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC95E#FFFFFF#000000##000000
##CFC95E1.001.7312.1712.17
#FFFFFF1.731.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C253
Deuteranopia (green-blind)
#DBC764
Tritanopia (blue-blind)
#DCBDB1
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #cfc95e;
/* rgb */ color: rgb(207, 201, 94);
/* oklch */ color: oklch(81.9% 0.129 106.0);
Tailwind
colors: {
  custom: {
    50: '#e0d98f',
    500: '#cfc95e',
    950: '#000000',
  },
}
SCSS
$custom: #cfc95e;
$custom-light: #e0d98f;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc95e",
  "rgb": {
    "r": 207,
    "g": 201,
    "b": 94
  },
  "hsl": {
    "h": 56.814,
    "s": 54.067,
    "l": 59.02
  },
  "oklch": {
    "l": 0.81942,
    "c": 0.12933,
    "h": 106
  },
  "luminance": 0.55847
}

Semantic roles & 50–950 ramp

primary
#CFC95E
secondary
#414590
accent
#52DD4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #CFC95E

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

Preview Lab → · Contrast checker → · Palette generator →

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