#CEC847#CEC847

#CEC847 is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.4% C 0.147 H 106.7°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#CEC847
RGBrgb(206, 200, 71)
HSLhsl(57, 58%, 54%)
HSVhsv(57, 66%, 81%)
CMYKcmyk(0%, 2.9%, 65.5%, 19.2%)
CIE-LABlab(78.98, -13.30, 62.65)
CIE-LCHlch(78.98, 64.05, 101.99°)
OKLaboklab(81.42% -0.0422 0.1411)
OKLCHoklch(81.42% 0.147 106.7)
XYZxyz(47.2469, 54.8869, 14.0655)
Luminance0.5488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC847 #474DCE
analogous
#CE8447 #CEC847 #91CE47
triadic
#CEC847 #47CEC8 #C847CE
tetradic
#CEC847 #47CE84 #474DCE #CE4791
square
#CEC847 #47CE84 #474DCE #CE4791
split-complementary
#CEC847 #4791CE #8447CE
monochromatic
#7A7621 #AAA52D #CEC847 #DBD677 #E8E5A8

Accessibility & contrast

On white

1.75
#CEC847 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.98
#CEC847 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC847
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC847#FFFFFF#000000##000000
##CEC8471.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C135
Deuteranopia (green-blind)
#DBC64F
Tritanopia (blue-blind)
#DCBBAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cec847;
/* rgb */ color: rgb(206, 200, 71);
/* oklch */ color: oklch(81.4% 0.147 106.7);
Tailwind
colors: {
  custom: {
    50: '#e0d881',
    500: '#cec847',
    950: '#000000',
  },
}
SCSS
$custom: #cec847;
$custom-light: #e0d881;
$custom-dark: #000000;
JSON
{
  "hex": "#cec847",
  "rgb": {
    "r": 206,
    "g": 200,
    "b": 71
  },
  "hsl": {
    "h": 57.333,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.81418,
    "c": 0.14731,
    "h": 106.7
  },
  "luminance": 0.54885
}

Semantic roles & 50–950 ramp

primary
#CEC847
secondary
#373A82
accent
#4EE147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC847

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

Preview Lab → · Contrast checker → · Palette generator →

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