#CEBC5B#CEBC5B

#CEBC5B is a light, moderate yellow. Relative luminance 0.498; OKLCH L 79.1% C 0.120 H 99.0°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#CEBC5B
RGBrgb(206, 188, 91)
HSLhsl(51, 54%, 58%)
HSVhsv(51, 56%, 81%)
CMYKcmyk(0%, 8.7%, 55.8%, 19.2%)
CIE-LABlab(75.97, -5.80, 50.61)
CIE-LCHlch(75.97, 50.94, 96.54°)
OKLaboklab(79.09% -0.0186 0.1182)
OKLCHoklch(79.09% 0.12 99)
XYZxyz(45.3268, 49.8454, 17.1291)
Luminance0.4984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBC5B #5B6DCE
analogous
#CE825B #CEBC5B #A6CE5B
triadic
#CEBC5B #5BCEBC #BC5BCE
tetradic
#CEBC5B #5BCE82 #5B6DCE #CE5BA6
square
#CEBC5B #5BCE82 #5B6DCE #CE5BA6
split-complementary
#CEBC5B #5BA6CE #825BCE
monochromatic
#867828 #B6A236 #CEBC5B #DCCF8A #EAE3B9

Accessibility & contrast

On white

1.91
#CEBC5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#CEBC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBC5B
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBC5B#FFFFFF#000000##000000
##CEBC5B1.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB852
Deuteranopia (green-blind)
#D1BE5F
Tritanopia (blue-blind)
#DCB0A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cebc5b;
/* rgb */ color: rgb(206, 188, 91);
/* oklch */ color: oklch(79.1% 0.120 99.0);
Tailwind
colors: {
  custom: {
    50: '#dfcf8c',
    500: '#cebc5b',
    950: '#000000',
  },
}
SCSS
$custom: #cebc5b;
$custom-light: #dfcf8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cebc5b",
  "rgb": {
    "r": 206,
    "g": 188,
    "b": 91
  },
  "hsl": {
    "h": 50.609,
    "s": 53.991,
    "l": 58.235
  },
  "oklch": {
    "l": 0.7909,
    "c": 0.11964,
    "h": 99
  },
  "luminance": 0.49844
}

Semantic roles & 50–950 ramp

primary
#CEBC5B
secondary
#ABB3D9
accent
#61DD4A
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CEBC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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