#CEC25E#CEC25E

#CEC25E is a light, vivid yellow. Relative luminance 0.525; OKLCH L 80.4% C 0.122 H 102.5°. Best body text is #000000 at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#CEC25E
RGBrgb(206, 194, 94)
HSLhsl(54, 53%, 59%)
HSVhsv(54, 54%, 81%)
CMYKcmyk(0%, 5.8%, 54.4%, 19.2%)
CIE-LABlab(77.59, -8.66, 51.07)
CIE-LCHlch(77.59, 51.80, 99.63°)
OKLaboklab(80.38% -0.0265 0.1195)
OKLCHoklch(80.38% 0.122 102.5)
XYZxyz(46.7673, 52.5152, 18.2604)
Luminance0.5251 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC25E #5E6ACE
analogous
#CE8A5E #CEC25E #A2CE5E
triadic
#CEC25E #5ECEC2 #C25ECE
tetradic
#CEC25E #5ECE8A #5E6ACE #CE5EA2
square
#CEC25E #5ECE8A #5E6ACE #CE5EA2
split-complementary
#CEC25E #5EA2CE #8A5ECE
monochromatic
#887E29 #B7A938 #CEC25E #DCD48D #EBE6BC

Accessibility & contrast

On white

1.83
#CEC25E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.50
#CEC25E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC25E
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC25E#FFFFFF#000000##000000
##CEC25E1.001.8311.5011.50
#FFFFFF1.831.0021.0021.00
#00000011.5021.001.001.00
##00000011.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BD54
Deuteranopia (green-blind)
#D5C263
Tritanopia (blue-blind)
#DCB6AC
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cec25e;
/* rgb */ color: rgb(206, 194, 94);
/* oklch */ color: oklch(80.4% 0.122 102.5);
Tailwind
colors: {
  custom: {
    50: '#dfd48e',
    500: '#cec25e',
    950: '#000000',
  },
}
SCSS
$custom: #cec25e;
$custom-light: #dfd48e;
$custom-dark: #000000;
JSON
{
  "hex": "#cec25e",
  "rgb": {
    "r": 206,
    "g": 194,
    "b": 94
  },
  "hsl": {
    "h": 53.571,
    "s": 53.333,
    "l": 58.824
  },
  "oklch": {
    "l": 0.80381,
    "c": 0.12239,
    "h": 102.5
  },
  "luminance": 0.52514
}

Semantic roles & 50–950 ramp

primary
#CEC25E
secondary
#414A8F
accent
#5BDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CEC25E

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

Preview Lab → · Contrast checker → · Palette generator →

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