#CECA4F#CECA4F

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

Color values

HEX#CECA4F
RGBrgb(206, 202, 79)
HSLhsl(58, 56%, 56%)
HSVhsv(58, 62%, 81%)
CMYKcmyk(0%, 1.9%, 61.7%, 19.2%)
CIE-LABlab(79.57, -13.82, 59.99)
CIE-LCHlch(79.57, 61.56, 102.97°)
OKLaboklab(81.91% -0.0428 0.1367)
OKLCHoklch(81.91% 0.143 107.4)
XYZxyz(47.9870, 55.9289, 15.6632)
Luminance0.5593 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECA4F #4F53CE
analogous
#CE8A4F #CECA4F #92CE4F
triadic
#CECA4F #4FCECA #CA4FCE
tetradic
#CECA4F #4FCE8A #4F53CE #CE4F92
square
#CECA4F #4FCE8A #4F53CE #CE4F92
split-complementary
#CECA4F #4F92CE #8A4FCE
monochromatic
#7F7C23 #AFAB31 #CECA4F #DBD87F #E9E7AF

Accessibility & contrast

On white

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

On black

12.19
#CECA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECA4F
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECA4F#FFFFFF#000000##000000
##CECA4F1.001.7212.1912.19
#FFFFFF1.721.0021.0021.00
#00000012.1921.001.001.00
##00000012.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC340
Deuteranopia (green-blind)
#DCC756
Tritanopia (blue-blind)
#DCBEB0
Achromatopsia (no color)
#C5C5C5

Design tokens & code

CSS
--color: #ceca4f;
/* rgb */ color: rgb(206, 202, 79);
/* oklch */ color: oklch(81.9% 0.143 107.4);
Tailwind
colors: {
  custom: {
    50: '#e0d986',
    500: '#ceca4f',
    950: '#000000',
  },
}
SCSS
$custom: #ceca4f;
$custom-light: #e0d986;
$custom-dark: #000000;
JSON
{
  "hex": "#ceca4f",
  "rgb": {
    "r": 206,
    "g": 202,
    "b": 79
  },
  "hsl": {
    "h": 58.11,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.81914,
    "c": 0.14325,
    "h": 107.4
  },
  "luminance": 0.55927
}

Semantic roles & 50–950 ramp

primary
#CECA4F
secondary
#3A3D87
accent
#4DE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CECA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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