#CEB157#CEB157

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

Color values

HEX#CEB157
RGBrgb(206, 177, 87)
HSLhsl(45, 55%, 57%)
HSVhsv(45, 58%, 81%)
CMYKcmyk(0%, 14.1%, 57.8%, 19.2%)
CIE-LABlab(73.06, -0.35, 49.14)
CIE-LCHlch(73.06, 49.15, 90.41°)
OKLaboklab(76.77% -0.0034 0.1146)
OKLCHoklch(76.77% 0.115 91.7)
XYZxyz(42.8979, 45.2564, 15.4908)
Luminance0.4525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB157 #5774CE
analogous
#CE7557 #CEB157 #B0CE57
triadic
#CEB157 #57CEB1 #B157CE
tetradic
#CEB157 #57CE75 #5774CE #CE57B0
square
#CEB157 #57CE75 #5774CE #CE57B0
split-complementary
#CEB157 #57B0CE #7557CE
monochromatic
#846D27 #B39434 #CEB157 #DCC786 #EADDB6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEB157#FFFFFF#000000##000000
##CEB1571.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)
#C2AE4E
Deuteranopia (green-blind)
#C9B75B
Tritanopia (blue-blind)
#DDA59D
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ceb157;
/* rgb */ color: rgb(206, 177, 87);
/* oklch */ color: oklch(76.8% 0.115 91.7);
Tailwind
colors: {
  custom: {
    50: '#e0c889',
    500: '#ceb157',
    950: '#000000',
  },
}
SCSS
$custom: #ceb157;
$custom-light: #e0c889;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb157",
  "rgb": {
    "r": 206,
    "g": 177,
    "b": 87
  },
  "hsl": {
    "h": 45.378,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.76772,
    "c": 0.11462,
    "h": 91.7
  },
  "luminance": 0.45254
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CEB157

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

Preview Lab → · Contrast checker → · Palette generator →

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