#CECB4F#CECB4F

#CECB4F is a very light, vivid yellow. Relative luminance 0.564; OKLCH L 82.1% C 0.144 H 107.9°. Best body text is #000000 at 12.28:1 contrast (WCAG AA passes).

Color values

HEX#CECB4F
RGBrgb(206, 203, 79)
HSLhsl(59, 56%, 56%)
HSVhsv(59, 62%, 81%)
CMYKcmyk(0%, 1.5%, 61.7%, 19.2%)
CIE-LABlab(79.84, -14.32, 60.27)
CIE-LCHlch(79.84, 61.95, 103.36°)
OKLaboklab(82.13% -0.0443 0.1373)
OKLCHoklch(82.13% 0.144 107.9)
XYZxyz(48.2224, 56.3996, 15.7417)
Luminance0.5640 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECB4F #4F52CE
analogous
#CE8B4F #CECB4F #91CE4F
triadic
#CECB4F #4FCECB #CB4FCE
tetradic
#CECB4F #4FCE8B #4F52CE #CE4F91
square
#CECB4F #4FCE8B #4F52CE #CE4F91
split-complementary
#CECB4F #4F91CE #8B4FCE
monochromatic
#7F7D23 #AFAC31 #CECB4F #DBD97F #E9E7AF

Accessibility & contrast

On white

1.71
#CECB4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.28
#CECB4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECB4F
12.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECB4F#FFFFFF#000000##000000
##CECB4F1.001.7112.2812.28
#FFFFFF1.711.0021.0021.00
#00000012.2821.001.001.00
##00000012.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC340
Deuteranopia (green-blind)
#DDC856
Tritanopia (blue-blind)
#DCBFB1
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cecb4f;
/* rgb */ color: rgb(206, 203, 79);
/* oklch */ color: oklch(82.1% 0.144 107.9);
Tailwind
colors: {
  custom: {
    50: '#e0da86',
    500: '#cecb4f',
    950: '#000000',
  },
}
SCSS
$custom: #cecb4f;
$custom-light: #e0da86;
$custom-dark: #000000;
JSON
{
  "hex": "#cecb4f",
  "rgb": {
    "r": 206,
    "g": 203,
    "b": 79
  },
  "hsl": {
    "h": 58.583,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.82127,
    "c": 0.14425,
    "h": 107.9
  },
  "luminance": 0.56398
}

Semantic roles & 50–950 ramp

primary
#CECB4F
secondary
#3A3C87
accent
#4CE048
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #CECB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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