#CEB158#CEB158

#CEB158 is a light, moderate yellow. Relative luminance 0.453; OKLCH L 76.8% C 0.114 H 91.5°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#CEB158
RGBrgb(206, 177, 88)
HSLhsl(45, 55%, 58%)
HSVhsv(45, 57%, 81%)
CMYKcmyk(0%, 14.1%, 57.3%, 19.2%)
CIE-LABlab(73.07, -0.27, 48.68)
CIE-LCHlch(73.07, 48.68, 90.32°)
OKLaboklab(76.78% -0.003 0.1137)
OKLCHoklch(76.78% 0.114 91.5)
XYZxyz(42.9390, 45.2728, 15.7074)
Luminance0.4527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB158 #5875CE
analogous
#CE7658 #CEB158 #B0CE58
triadic
#CEB158 #58CEB1 #B158CE
tetradic
#CEB158 #58CE76 #5875CE #CE58B0
square
#CEB158 #58CE76 #5875CE #CE58B0
split-complementary
#CEB158 #58B0CE #7658CE
monochromatic
#856E27 #B49535 #CEB158 #DCC787 #EADDB7

Accessibility & contrast

On white

2.09
#CEB158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#CEB158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB158
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB158#FFFFFF#000000##000000
##CEB1581.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AF4F
Deuteranopia (green-blind)
#C9B75C
Tritanopia (blue-blind)
#DDA59D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ceb158;
/* rgb */ color: rgb(206, 177, 88);
/* oklch */ color: oklch(76.8% 0.114 91.5);
Tailwind
colors: {
  custom: {
    50: '#e0c88a',
    500: '#ceb158',
    950: '#000000',
  },
}
SCSS
$custom: #ceb158;
$custom-light: #e0c88a;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb158",
  "rgb": {
    "r": 206,
    "g": 177,
    "b": 88
  },
  "hsl": {
    "h": 45.254,
    "s": 54.63,
    "l": 57.647
  },
  "oklch": {
    "l": 0.76784,
    "c": 0.11371,
    "h": 91.5
  },
  "luminance": 0.45271
}

Semantic roles & 50–950 ramp

primary
#CEB158
secondary
#A9B5D9
accent
#6EDE4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CEB158

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

Preview Lab → · Contrast checker → · Palette generator →

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