#CEC34B#CEC34B

#CEC34B is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.4% C 0.140 H 104.1°. Best body text is #000000 at 11.53:1 contrast (WCAG AA passes).

Color values

HEX#CEC34B
RGBrgb(206, 195, 75)
HSLhsl(55, 57%, 55%)
HSVhsv(55, 64%, 81%)
CMYKcmyk(0%, 5.3%, 63.6%, 19.2%)
CIE-LABlab(77.67, -10.52, 59.65)
CIE-LCHlch(77.67, 60.57, 100.01°)
OKLaboklab(80.39% -0.0339 0.1354)
OKLCHoklch(80.39% 0.14 104.1)
XYZxyz(46.2404, 52.6617, 14.3842)
Luminance0.5266 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC34B #4B56CE
analogous
#CE824B #CEC34B #97CE4B
triadic
#CEC34B #4BCEC3 #C34BCE
tetradic
#CEC34B #4BCE82 #4B56CE #CE4B97
square
#CEC34B #4BCE82 #4B56CE #CE4B97
split-complementary
#CEC34B #4B97CE #824BCE
monochromatic
#7D7522 #ADA22F #CEC34B #DBD37B #E8E3AB

Accessibility & contrast

On white

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

On black

11.53
#CEC34B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC34B
11.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC34B#FFFFFF#000000##000000
##CEC34B1.001.8211.5311.53
#FFFFFF1.821.0021.0021.00
#00000011.5321.001.001.00
##00000011.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BD3C
Deuteranopia (green-blind)
#D7C352
Tritanopia (blue-blind)
#DDB6AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #cec34b;
/* rgb */ color: rgb(206, 195, 75);
/* oklch */ color: oklch(80.4% 0.140 104.1);
Tailwind
colors: {
  custom: {
    50: '#e0d483',
    500: '#cec34b',
    950: '#000000',
  },
}
SCSS
$custom: #cec34b;
$custom-light: #e0d483;
$custom-dark: #000000;
JSON
{
  "hex": "#cec34b",
  "rgb": {
    "r": 206,
    "g": 195,
    "b": 75
  },
  "hsl": {
    "h": 54.962,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.80392,
    "c": 0.13958,
    "h": 104.1
  },
  "luminance": 0.5266
}

Semantic roles & 50–950 ramp

primary
#CEC34B
secondary
#393F84
accent
#54E047
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC34B

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

Preview Lab → · Contrast checker → · Palette generator →

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