#CEBC5F#CEBC5F

#CEBC5F is a light, moderate yellow. Relative luminance 0.499; OKLCH L 79.1% C 0.116 H 98.6°. Best body text is #000000 at 10.98:1 contrast (WCAG AA passes).

Color values

HEX#CEBC5F
RGBrgb(206, 188, 95)
HSLhsl(50, 53%, 59%)
HSVhsv(50, 54%, 81%)
CMYKcmyk(0%, 8.7%, 53.9%, 19.2%)
CIE-LABlab(76.02, -5.48, 48.76)
CIE-LCHlch(76.02, 49.07, 96.41°)
OKLaboklab(79.14% -0.0173 0.1146)
OKLCHoklch(79.14% 0.116 98.6)
XYZxyz(45.5039, 49.9163, 18.0621)
Luminance0.4991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBC5F #5F71CE
analogous
#CE855F #CEBC5F #A9CE5F
triadic
#CEBC5F #5FCEBC #BC5FCE
tetradic
#CEBC5F #5FCE85 #5F71CE #CE5FA9
square
#CEBC5F #5FCE85 #5F71CE #CE5FA9
split-complementary
#CEBC5F #5FA9CE #855FCE
monochromatic
#89792A #B8A338 #CEBC5F #DCD08E #EBE3BD

Accessibility & contrast

On white

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

On black

10.98
#CEBC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBC5F
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBC5F#FFFFFF#000000##000000
##CEBC5F1.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB856
Deuteranopia (green-blind)
#D0BE63
Tritanopia (blue-blind)
#DCB0A7
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cebc5f;
/* rgb */ color: rgb(206, 188, 95);
/* oklch */ color: oklch(79.1% 0.116 98.6);
Tailwind
colors: {
  custom: {
    50: '#dfcf8f',
    500: '#cebc5f',
    950: '#000000',
  },
}
SCSS
$custom: #cebc5f;
$custom-light: #dfcf8f;
$custom-dark: #000000;
JSON
{
  "hex": "#cebc5f",
  "rgb": {
    "r": 206,
    "g": 188,
    "b": 95
  },
  "hsl": {
    "h": 50.27,
    "s": 53.11,
    "l": 59.02
  },
  "oklch": {
    "l": 0.79139,
    "c": 0.11588,
    "h": 98.6
  },
  "luminance": 0.49914
}

Semantic roles & 50–950 ramp

primary
#CEBC5F
secondary
#AFB6DA
accent
#63DD4B
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#15130C
muted
#84827D

Preview Lab

Preview with #CEBC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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