#CEB151#CEB151

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

Color values

HEX#CEB151
RGBrgb(206, 177, 81)
HSLhsl(46, 56%, 56%)
HSVhsv(46, 61%, 81%)
CMYKcmyk(0%, 14.1%, 60.7%, 19.2%)
CIE-LABlab(73.00, -0.78, 51.90)
CIE-LCHlch(73.00, 51.90, 90.87°)
OKLaboklab(76.7% -0.0053 0.1197)
OKLCHoklch(76.7% 0.12 92.6)
XYZxyz(42.6629, 45.1624, 14.2530)
Luminance0.4516 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB151 #516ECE
analogous
#CE7351 #CEB151 #ADCE51
triadic
#CEB151 #51CEB1 #B151CE
tetradic
#CEB151 #51CE73 #516ECE #CE51AD
square
#CEB151 #51CE73 #516ECE #CE51AD
split-complementary
#CEB151 #51ADCE #7351CE
monochromatic
#806B24 #B09332 #CEB151 #DBC681 #E9DCB1

Accessibility & contrast

On white

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

On black

10.03
#CEB151 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB151
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB151#FFFFFF#000000##000000
##CEB1511.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ceb151;
/* rgb */ color: rgb(206, 177, 81);
/* oklch */ color: oklch(76.7% 0.120 92.6);
Tailwind
colors: {
  custom: {
    50: '#e0c885',
    500: '#ceb151',
    950: '#000000',
  },
}
SCSS
$custom: #ceb151;
$custom-light: #e0c885;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb151",
  "rgb": {
    "r": 206,
    "g": 177,
    "b": 81
  },
  "hsl": {
    "h": 46.08,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.76704,
    "c": 0.11986,
    "h": 92.6
  },
  "luminance": 0.4516
}

Semantic roles & 50–950 ramp

primary
#CEB151
secondary
#A4B0D7
accent
#6BDF48
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CEB151

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

Preview Lab → · Contrast checker → · Palette generator →

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