#CEC25D#CEC25D

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

Color values

HEX#CEC25D
RGBrgb(206, 194, 93)
HSLhsl(54, 54%, 59%)
HSVhsv(54, 55%, 81%)
CMYKcmyk(0%, 5.8%, 54.9%, 19.2%)
CIE-LABlab(77.58, -8.74, 51.52)
CIE-LCHlch(77.58, 52.26, 99.63°)
OKLaboklab(80.37% -0.0268 0.1204)
OKLCHoklch(80.37% 0.123 102.6)
XYZxyz(46.7227, 52.4973, 18.0257)
Luminance0.5250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC25D #5D69CE
analogous
#CE895D #CEC25D #A1CE5D
triadic
#CEC25D #5DCEC2 #C25DCE
tetradic
#CEC25D #5DCE89 #5D69CE #CE5DA1
square
#CEC25D #5DCE89 #5D69CE #CE5DA1
split-complementary
#CEC25D #5DA1CE #895DCE
monochromatic
#887E29 #B7A937 #CEC25D #DCD48C #EAE5BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEC25D#FFFFFF#000000##000000
##CEC25D1.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)
#D1BC53
Deuteranopia (green-blind)
#D5C262
Tritanopia (blue-blind)
#DCB6AB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cec25d;
/* rgb */ color: rgb(206, 194, 93);
/* oklch */ color: oklch(80.4% 0.123 102.6);
Tailwind
colors: {
  custom: {
    50: '#dfd48e',
    500: '#cec25d',
    950: '#000000',
  },
}
SCSS
$custom: #cec25d;
$custom-light: #dfd48e;
$custom-dark: #000000;
JSON
{
  "hex": "#cec25d",
  "rgb": {
    "r": 206,
    "g": 194,
    "b": 93
  },
  "hsl": {
    "h": 53.628,
    "s": 53.555,
    "l": 58.627
  },
  "oklch": {
    "l": 0.80369,
    "c": 0.12332,
    "h": 102.6
  },
  "luminance": 0.52496
}

Semantic roles & 50–950 ramp

primary
#CEC25D
secondary
#41498E
accent
#5ADD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #CEC25D

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

Preview Lab → · Contrast checker → · Palette generator →

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