#CEC259#CEC259

#CEC259 is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.3% C 0.127 H 102.8°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#CEC259
RGBrgb(206, 194, 89)
HSLhsl(54, 54%, 58%)
HSVhsv(54, 57%, 81%)
CMYKcmyk(0%, 5.8%, 56.8%, 19.2%)
CIE-LABlab(77.54, -9.05, 53.33)
CIE-LCHlch(77.54, 54.09, 99.63°)
OKLaboklab(80.32% -0.0282 0.1238)
OKLCHoklch(80.32% 0.127 102.8)
XYZxyz(46.5501, 52.4283, 17.1169)
Luminance0.5243 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC259 #5965CE
analogous
#CE8759 #CEC259 #A0CE59
triadic
#CEC259 #59CEC2 #C259CE
tetradic
#CEC259 #59CE87 #5965CE #CE59A0
square
#CEC259 #59CE87 #5965CE #CE59A0
split-complementary
#CEC259 #59A0CE #8759CE
monochromatic
#857C27 #B5A735 #CEC259 #DCD388 #EAE5B8

Accessibility & contrast

On white

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

On black

11.49
#CEC259 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC259
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC259#FFFFFF#000000##000000
##CEC2591.001.8311.4911.49
#FFFFFF1.831.0021.0021.00
#00000011.4921.001.001.00
##00000011.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BC4E
Deuteranopia (green-blind)
#D5C25E
Tritanopia (blue-blind)
#DCB6AB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cec259;
/* rgb */ color: rgb(206, 194, 89);
/* oklch */ color: oklch(80.3% 0.127 102.8);
Tailwind
colors: {
  custom: {
    50: '#dfd48b',
    500: '#cec259',
    950: '#000000',
  },
}
SCSS
$custom: #cec259;
$custom-light: #dfd48b;
$custom-dark: #000000;
JSON
{
  "hex": "#cec259",
  "rgb": {
    "r": 206,
    "g": 194,
    "b": 89
  },
  "hsl": {
    "h": 53.846,
    "s": 54.419,
    "l": 57.843
  },
  "oklch": {
    "l": 0.80323,
    "c": 0.12697,
    "h": 102.8
  },
  "luminance": 0.52427
}

Semantic roles & 50–950 ramp

primary
#CEC259
secondary
#3F478C
accent
#59DE4A
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #CEC259

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

Preview Lab → · Contrast checker → · Palette generator →

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