#CEC739#CEC739

#CEC739 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.1% C 0.155 H 106.5°. Best body text is #000000 at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#CEC739
RGBrgb(206, 199, 57)
HSLhsl(57, 60%, 52%)
HSVhsv(57, 72%, 81%)
CMYKcmyk(0%, 3.4%, 72.3%, 19.2%)
CIE-LABlab(78.62, -13.52, 67.54)
CIE-LCHlch(78.62, 68.88, 101.32°)
OKLaboklab(81.1% -0.0443 0.1491)
OKLCHoklch(81.1% 0.156 106.5)
XYZxyz(46.6174, 54.2657, 11.8888)
Luminance0.5426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC739 #3940CE
analogous
#CE7D39 #CEC739 #8BCE39
triadic
#CEC739 #39CEC7 #C739CE
tetradic
#CEC739 #39CE7D #3940CE #CE398B
square
#CEC739 #39CE7D #3940CE #CE398B
split-complementary
#CEC739 #398BCE #7D39CE
monochromatic
#716D1C #A29C28 #CEC739 #DAD56A #E6E39B

Accessibility & contrast

On white

1.77
#CEC739 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.85
#CEC739 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC739
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC739#FFFFFF#000000##000000
##CEC7391.001.7711.8511.85
#FFFFFF1.771.0021.0021.00
#00000011.8521.001.001.00
##00000011.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF1E
Deuteranopia (green-blind)
#DBC543
Tritanopia (blue-blind)
#DDBAAC
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cec739;
/* rgb */ color: rgb(206, 199, 57);
/* oklch */ color: oklch(81.1% 0.155 106.5);
Tailwind
colors: {
  custom: {
    50: '#e1d779',
    500: '#cec739',
    950: '#000000',
  },
}
SCSS
$custom: #cec739;
$custom-light: #e1d779;
$custom-dark: #000000;
JSON
{
  "hex": "#cec739",
  "rgb": {
    "r": 206,
    "g": 199,
    "b": 57
  },
  "hsl": {
    "h": 57.181,
    "s": 60.324,
    "l": 51.569
  },
  "oklch": {
    "l": 0.81102,
    "c": 0.1555,
    "h": 106.5
  },
  "luminance": 0.54264
}

Semantic roles & 50–950 ramp

primary
#CEC739
secondary
#31357A
accent
#4CE344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CEC739

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

Preview Lab → · Contrast checker → · Palette generator →

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