#CECB5F#CECB5F

#CECB5F is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.3% C 0.131 H 107.5°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#CECB5F
RGBrgb(206, 203, 95)
HSLhsl(58, 53%, 59%)
HSVhsv(58, 54%, 81%)
CMYKcmyk(0%, 1.5%, 53.9%, 19.2%)
CIE-LABlab(79.99, -13.16, 53.37)
CIE-LCHlch(79.99, 54.97, 103.85°)
OKLaboklab(82.29% -0.0393 0.1246)
OKLCHoklch(82.29% 0.131 107.5)
XYZxyz(48.8764, 56.6613, 19.1863)
Luminance0.5666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CECB5F #5F62CE
analogous
#CE945F #CECB5F #9ACE5F
triadic
#CECB5F #5FCECB #CB5FCE
tetradic
#CECB5F #5FCE94 #5F62CE #CE5F9A
square
#CECB5F #5FCE94 #5F62CE #CE5F9A
split-complementary
#CECB5F #5F9ACE #945FCE
monochromatic
#89862A #B8B438 #CECB5F #DCDA8E #EBE9BD

Accessibility & contrast

On white

1.70
#CECB5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.33
#CECB5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CECB5F
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CECB5F#FFFFFF#000000##000000
##CECB5F1.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC454
Deuteranopia (green-blind)
#DCC865
Tritanopia (blue-blind)
#DBC0B3
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cecb5f;
/* rgb */ color: rgb(206, 203, 95);
/* oklch */ color: oklch(82.3% 0.131 107.5);
Tailwind
colors: {
  custom: {
    50: '#dfda90',
    500: '#cecb5f',
    950: '#000000',
  },
}
SCSS
$custom: #cecb5f;
$custom-light: #dfda90;
$custom-dark: #000000;
JSON
{
  "hex": "#cecb5f",
  "rgb": {
    "r": 206,
    "g": 203,
    "b": 95
  },
  "hsl": {
    "h": 58.378,
    "s": 53.11,
    "l": 59.02
  },
  "oklch": {
    "l": 0.82293,
    "c": 0.1306,
    "h": 107.5
  },
  "luminance": 0.5666
}

Semantic roles & 50–950 ramp

primary
#CECB5F
secondary
#42448F
accent
#4FDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CECB5F

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

Preview Lab → · Contrast checker → · Palette generator →

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