#CEC94B#CEC94B

#CEC94B is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.7% C 0.145 H 107.0°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#CEC94B
RGBrgb(206, 201, 75)
HSLhsl(58, 57%, 55%)
HSVhsv(58, 64%, 81%)
CMYKcmyk(0%, 2.4%, 63.6%, 19.2%)
CIE-LABlab(79.27, -13.57, 61.34)
CIE-LCHlch(79.27, 62.82, 102.47°)
OKLaboklab(81.66% -0.0426 0.139)
OKLCHoklch(81.66% 0.145 107)
XYZxyz(47.6119, 55.4046, 14.8414)
Luminance0.5540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEC94B #4B50CE
analogous
#CE884B #CEC94B #91CE4B
triadic
#CEC94B #4BCEC9 #C94BCE
tetradic
#CEC94B #4BCE88 #4B50CE #CE4B91
square
#CEC94B #4BCE88 #4B50CE #CE4B91
split-complementary
#CEC94B #4B91CE #884BCE
monochromatic
#7D7922 #ADA82F #CEC94B #DBD77B #E8E6AB

Accessibility & contrast

On white

1.74
#CEC94B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.08
#CEC94B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEC94B
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEC94B#FFFFFF#000000##000000
##CEC94B1.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C23B
Deuteranopia (green-blind)
#DCC753
Tritanopia (blue-blind)
#DCBCAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cec94b;
/* rgb */ color: rgb(206, 201, 75);
/* oklch */ color: oklch(81.7% 0.145 107.0);
Tailwind
colors: {
  custom: {
    50: '#e0d983',
    500: '#cec94b',
    950: '#000000',
  },
}
SCSS
$custom: #cec94b;
$custom-light: #e0d983;
$custom-dark: #000000;
JSON
{
  "hex": "#cec94b",
  "rgb": {
    "r": 206,
    "g": 201,
    "b": 75
  },
  "hsl": {
    "h": 57.71,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.81665,
    "c": 0.14533,
    "h": 107
  },
  "luminance": 0.55403
}

Semantic roles & 50–950 ramp

primary
#CEC94B
secondary
#393C84
accent
#4DE047
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CEC94B

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

Preview Lab → · Contrast checker → · Palette generator →

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