#CEC992#CEC992

#CEC992 is a very light, moderate yellow. Relative luminance 0.570; OKLCH L 82.7% C 0.073 H 103.5°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#CEC992
RGBrgb(206, 201, 146)
HSLhsl(55, 38%, 69%)
HSVhsv(55, 29%, 81%)
CMYKcmyk(0%, 2.4%, 29.1%, 19.2%)
CIE-LABlab(80.16, -6.80, 28.18)
CIE-LCHlch(80.16, 28.99, 103.56°)
OKLaboklab(82.66% -0.0169 0.0707)
OKLCHoklch(82.66% 0.073 103.5)
XYZxyz(51.5288, 56.9714, 35.4707)
Luminance0.5697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC992 #9297CE
analogous
#CEAB92 #CEC992 #B5CE92
triadic
#CEC992 #92CEC9 #C992CE
tetradic
#CEC992 #92CEAB #9297CE #CE92B5
square
#CEC992 #92CEAB #9297CE #CE92B5
split-complementary
#CEC992 #92B5CE #AB92CE
monochromatic
#9E9747 #BBB468 #CEC992 #E1DEBC #F4F3E6

Accessibility & contrast

On white

1.69
#CEC992 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.39
#CEC992 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC992
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC992#FFFFFF#000000##000000
##CEC9921.001.6912.3912.39
#FFFFFF1.691.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3C58E
Deuteranopia (green-blind)
#D5C894
Tritanopia (blue-blind)
#D7C2BB
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #cec992;
/* rgb */ color: rgb(206, 201, 146);
/* oklch */ color: oklch(82.7% 0.073 103.5);
Tailwind
colors: {
  custom: {
    50: '#ddd9b2',
    500: '#cec992',
    950: '#000000',
  },
}
SCSS
$custom: #cec992;
$custom-light: #ddd9b2;
$custom-dark: #000000;
JSON
{
  "hex": "#cec992",
  "rgb": {
    "r": 206,
    "g": 201,
    "b": 146
  },
  "hsl": {
    "h": 55,
    "s": 37.975,
    "l": 69.02
  },
  "oklch": {
    "l": 0.82661,
    "c": 0.07265,
    "h": 103.5
  },
  "luminance": 0.5697
}

Semantic roles & 50–950 ramp

primary
#CEC992
secondary
#6166A3
accent
#3FB135
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151411
muted
#848381

Preview Lab

Preview with #CEC992

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

Preview Lab → · Contrast checker → · Palette generator →

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