#CECA4B#CECA4B

#CECA4B is a light, vivid yellow. Relative luminance 0.559; OKLCH L 81.9% C 0.146 H 107.5°. Best body text is #000000 at 12.17:1 contrast (WCAG AA passes).

Color values

HEX#CECA4B
RGBrgb(206, 202, 75)
HSLhsl(58, 57%, 55%)
HSVhsv(58, 64%, 81%)
CMYKcmyk(0%, 1.9%, 63.6%, 19.2%)
CIE-LABlab(79.54, -14.07, 61.62)
CIE-LCHlch(79.54, 63.20, 102.86°)
OKLaboklab(81.88% -0.044 0.1396)
OKLCHoklch(81.88% 0.146 107.5)
XYZxyz(47.8458, 55.8724, 14.9194)
Luminance0.5587 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECA4B #4B4FCE
analogous
#CE894B #CECA4B #90CE4B
triadic
#CECA4B #4BCECA #CA4BCE
tetradic
#CECA4B #4BCE89 #4B4FCE #CE4B90
square
#CECA4B #4BCE89 #4B4FCE #CE4B90
split-complementary
#CECA4B #4B90CE #894BCE
monochromatic
#7D7A22 #ADA92F #CECA4B #DBD87B #E8E6AB

Accessibility & contrast

On white

1.72
#CECA4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.17
#CECA4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECA4B
12.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECA4B#FFFFFF#000000##000000
##CECA4B1.001.7212.1712.17
#FFFFFF1.721.0021.0021.00
#00000012.1721.001.001.00
##00000012.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC23B
Deuteranopia (green-blind)
#DCC753
Tritanopia (blue-blind)
#DCBDB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ceca4b;
/* rgb */ color: rgb(206, 202, 75);
/* oklch */ color: oklch(81.9% 0.146 107.5);
Tailwind
colors: {
  custom: {
    50: '#e0d983',
    500: '#ceca4b',
    950: '#000000',
  },
}
SCSS
$custom: #ceca4b;
$custom-light: #e0d983;
$custom-dark: #000000;
JSON
{
  "hex": "#ceca4b",
  "rgb": {
    "r": 206,
    "g": 202,
    "b": 75
  },
  "hsl": {
    "h": 58.168,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.81878,
    "c": 0.14632,
    "h": 107.5
  },
  "luminance": 0.55871
}

Semantic roles & 50–950 ramp

primary
#CECA4B
secondary
#393B84
accent
#4CE047
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CECA4B

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

Preview Lab → · Contrast checker → · Palette generator →

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