#CFC25B#CFC25B

#CFC25B is a light, vivid yellow. Relative luminance 0.526; OKLCH L 80.4% C 0.125 H 102.2°. Best body text is #000000 at 11.52:1 contrast (WCAG AA passes).

Color values

HEX#CFC25B
RGBrgb(207, 194, 91)
HSLhsl(53, 55%, 58%)
HSVhsv(53, 56%, 81%)
CMYKcmyk(0%, 6.3%, 56%, 18.8%)
CIE-LABlab(77.64, -8.48, 52.55)
CIE-LCHlch(77.64, 53.23, 99.17°)
OKLaboklab(80.43% -0.0264 0.1223)
OKLCHoklch(80.43% 0.125 102.2)
XYZxyz(46.9138, 52.6060, 17.5783)
Luminance0.5260 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC25B #5B68CF
analogous
#CF885B #CFC25B #A2CF5B
triadic
#CFC25B #5BCFC2 #C25BCF
tetradic
#CFC25B #5BCF88 #5B68CF #CF5BA2
square
#CFC25B #5BCF88 #5B68CF #CF5BA2
split-complementary
#CFC25B #5BA2CF #885BCF
monochromatic
#887D28 #B7A936 #CFC25B #DDD48A #EBE5BA

Accessibility & contrast

On white

1.82
#CFC25B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.52
#CFC25B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC25B
11.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC25B#FFFFFF#000000##000000
##CFC25B1.001.8211.5211.52
#FFFFFF1.821.0021.0021.00
#00000011.5221.001.001.00
##00000011.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BD51
Deuteranopia (green-blind)
#D6C260
Tritanopia (blue-blind)
#DDB6AB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cfc25b;
/* rgb */ color: rgb(207, 194, 91);
/* oklch */ color: oklch(80.4% 0.125 102.2);
Tailwind
colors: {
  custom: {
    50: '#e0d48d',
    500: '#cfc25b',
    950: '#000000',
  },
}
SCSS
$custom: #cfc25b;
$custom-light: #e0d48d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc25b",
  "rgb": {
    "r": 207,
    "g": 194,
    "b": 91
  },
  "hsl": {
    "h": 53.276,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.80434,
    "c": 0.12515,
    "h": 102.2
  },
  "luminance": 0.52604
}

Semantic roles & 50–950 ramp

primary
#CFC25B
secondary
#40488F
accent
#5ADE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CFC25B

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

Preview Lab → · Contrast checker → · Palette generator →

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