#CEC258#CEC258

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

Color values

HEX#CEC258
RGBrgb(206, 194, 88)
HSLhsl(54, 55%, 58%)
HSVhsv(54, 57%, 81%)
CMYKcmyk(0%, 5.8%, 57.3%, 19.2%)
CIE-LABlab(77.53, -9.13, 53.78)
CIE-LCHlch(77.53, 54.54, 99.63°)
OKLaboklab(80.31% -0.0285 0.1246)
OKLCHoklch(80.31% 0.128 102.9)
XYZxyz(46.5084, 52.4116, 16.8972)
Luminance0.5241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC258 #5864CE
analogous
#CE8758 #CEC258 #9FCE58
triadic
#CEC258 #58CEC2 #C258CE
tetradic
#CEC258 #58CE87 #5864CE #CE589F
square
#CEC258 #58CE87 #5864CE #CE589F
split-complementary
#CEC258 #589FCE #8758CE
monochromatic
#857B27 #B4A735 #CEC258 #DCD387 #EAE5B7

Accessibility & contrast

On white

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

On black

11.48
#CEC258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC258
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC258#FFFFFF#000000##000000
##CEC2581.001.8311.4811.48
#FFFFFF1.831.0021.0021.00
#00000011.4821.001.001.00
##00000011.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cec258;
/* rgb */ color: rgb(206, 194, 88);
/* oklch */ color: oklch(80.3% 0.128 102.9);
Tailwind
colors: {
  custom: {
    50: '#e0d48b',
    500: '#cec258',
    950: '#000000',
  },
}
SCSS
$custom: #cec258;
$custom-light: #e0d48b;
$custom-dark: #000000;
JSON
{
  "hex": "#cec258",
  "rgb": {
    "r": 206,
    "g": 194,
    "b": 88
  },
  "hsl": {
    "h": 53.898,
    "s": 54.63,
    "l": 57.647
  },
  "oklch": {
    "l": 0.80312,
    "c": 0.12786,
    "h": 102.9
  },
  "luminance": 0.5241
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CEC258

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

Preview Lab → · Contrast checker → · Palette generator →

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