#CEC846#CEC846

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

Color values

HEX#CEC846
RGBrgb(206, 200, 70)
HSLhsl(57, 58%, 54%)
HSVhsv(57, 66%, 81%)
CMYKcmyk(0%, 2.9%, 66%, 19.2%)
CIE-LABlab(78.97, -13.36, 63.04)
CIE-LCHlch(78.97, 64.44, 101.96°)
OKLaboklab(81.41% -0.0425 0.1418)
OKLCHoklch(81.41% 0.148 106.7)
XYZxyz(47.2151, 54.8741, 13.8978)
Luminance0.5487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC846 #464CCE
analogous
#CE8446 #CEC846 #90CE46
triadic
#CEC846 #46CEC8 #C846CE
tetradic
#CEC846 #46CE84 #464CCE #CE4690
square
#CEC846 #46CE84 #464CCE #CE4690
split-complementary
#CEC846 #4690CE #8446CE
monochromatic
#797520 #AAA42D #CEC846 #DBD676 #E8E5A7

Accessibility & contrast

On white

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

On black

11.97
#CEC846 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC846
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC846#FFFFFF#000000##000000
##CEC8461.001.7511.9711.97
#FFFFFF1.751.0021.0021.00
#00000011.9721.001.001.00
##00000011.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C134
Deuteranopia (green-blind)
#DBC64E
Tritanopia (blue-blind)
#DDBBAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #cec846;
/* rgb */ color: rgb(206, 200, 70);
/* oklch */ color: oklch(81.4% 0.148 106.7);
Tailwind
colors: {
  custom: {
    50: '#e0d880',
    500: '#cec846',
    950: '#000000',
  },
}
SCSS
$custom: #cec846;
$custom-light: #e0d880;
$custom-dark: #000000;
JSON
{
  "hex": "#cec846",
  "rgb": {
    "r": 206,
    "g": 200,
    "b": 70
  },
  "hsl": {
    "h": 57.353,
    "s": 58.12,
    "l": 54.118
  },
  "oklch": {
    "l": 0.8141,
    "c": 0.14802,
    "h": 106.7
  },
  "luminance": 0.54873
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CEC846

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

Preview Lab → · Contrast checker → · Palette generator →

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