#CEB152#CEB152

#CEB152 is a light, moderate yellow. Relative luminance 0.452; OKLCH L 76.7% C 0.119 H 92.4°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#CEB152
RGBrgb(206, 177, 82)
HSLhsl(46, 56%, 56%)
HSVhsv(46, 60%, 81%)
CMYKcmyk(0%, 14.1%, 60.2%, 19.2%)
CIE-LABlab(73.01, -0.71, 51.44)
CIE-LCHlch(73.01, 51.45, 90.80°)
OKLaboklab(76.72% -0.005 0.1189)
OKLCHoklch(76.72% 0.119 92.4)
XYZxyz(42.7006, 45.1775, 14.4520)
Luminance0.4517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB152 #526FCE
analogous
#CE7352 #CEB152 #ADCE52
triadic
#CEB152 #52CEB1 #B152CE
tetradic
#CEB152 #52CE73 #526FCE #CE52AD
square
#CEB152 #52CE73 #526FCE #CE52AD
split-complementary
#CEB152 #52ADCE #7352CE
monochromatic
#816B25 #B19332 #CEB152 #DCC782 #E9DCB1

Accessibility & contrast

On white

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

On black

10.04
#CEB152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB152
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB152#FFFFFF#000000##000000
##CEB1521.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE48
Deuteranopia (green-blind)
#C9B756
Tritanopia (blue-blind)
#DDA49C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #ceb152;
/* rgb */ color: rgb(206, 177, 82);
/* oklch */ color: oklch(76.7% 0.119 92.4);
Tailwind
colors: {
  custom: {
    50: '#e0c886',
    500: '#ceb152',
    950: '#000000',
  },
}
SCSS
$custom: #ceb152;
$custom-light: #e0c886;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb152",
  "rgb": {
    "r": 206,
    "g": 177,
    "b": 82
  },
  "hsl": {
    "h": 45.968,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.76715,
    "c": 0.11901,
    "h": 92.4
  },
  "luminance": 0.45175
}

Semantic roles & 50–950 ramp

primary
#CEB152
secondary
#A4B0D7
accent
#6CDF49
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CEB152

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

Preview Lab → · Contrast checker → · Palette generator →

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