#CEBB5B#CEBB5B

#CEBB5B is a light, moderate yellow. Relative luminance 0.494; OKLCH L 78.9% C 0.119 H 98.3°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#CEBB5B
RGBrgb(206, 187, 91)
HSLhsl(50, 54%, 58%)
HSVhsv(50, 56%, 81%)
CMYKcmyk(0%, 9.2%, 55.8%, 19.2%)
CIE-LABlab(75.71, -5.28, 50.31)
CIE-LCHlch(75.71, 50.58, 95.99°)
OKLaboklab(78.88% -0.0171 0.1175)
OKLCHoklch(78.88% 0.119 98.3)
XYZxyz(45.1139, 49.4197, 17.0581)
Luminance0.4942 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBB5B #5B6ECE
analogous
#CE815B #CEBB5B #A7CE5B
triadic
#CEBB5B #5BCEBB #BB5BCE
tetradic
#CEBB5B #5BCE81 #5B6ECE #CE5BA7
square
#CEBB5B #5BCE81 #5B6ECE #CE5BA7
split-complementary
#CEBB5B #5BA7CE #815BCE
monochromatic
#867728 #B6A136 #CEBB5B #DCCF8A #EAE2B9

Accessibility & contrast

On white

1.93
#CEBB5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.88
#CEBB5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBB5B
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBB5B#FFFFFF#000000##000000
##CEBB5B1.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB752
Deuteranopia (green-blind)
#D0BE5F
Tritanopia (blue-blind)
#DCAFA5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cebb5b;
/* rgb */ color: rgb(206, 187, 91);
/* oklch */ color: oklch(78.9% 0.119 98.3);
Tailwind
colors: {
  custom: {
    50: '#dfcf8c',
    500: '#cebb5b',
    950: '#000000',
  },
}
SCSS
$custom: #cebb5b;
$custom-light: #dfcf8c;
$custom-dark: #000000;
JSON
{
  "hex": "#cebb5b",
  "rgb": {
    "r": 206,
    "g": 187,
    "b": 91
  },
  "hsl": {
    "h": 50.087,
    "s": 53.991,
    "l": 58.235
  },
  "oklch": {
    "l": 0.78882,
    "c": 0.11876,
    "h": 98.3
  },
  "luminance": 0.49418
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CEBB5B

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

Preview Lab → · Contrast checker → · Palette generator →

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