#CEB45B#CEB45B

#CEB45B is a light, moderate yellow. Relative luminance 0.465; OKLCH L 77.4% C 0.113 H 93.3°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#CEB45B
RGBrgb(206, 180, 91)
HSLhsl(46, 54%, 58%)
HSVhsv(46, 56%, 81%)
CMYKcmyk(0%, 12.6%, 55.8%, 19.2%)
CIE-LABlab(73.88, -1.62, 48.18)
CIE-LCHlch(73.88, 48.21, 91.93°)
OKLaboklab(77.44% -0.0066 0.1129)
OKLCHoklch(77.44% 0.113 93.3)
XYZxyz(43.6649, 46.5217, 16.5751)
Luminance0.4652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB45B #5B75CE
analogous
#CE7A5B #CEB45B #AECE5B
triadic
#CEB45B #5BCEB4 #B45BCE
tetradic
#CEB45B #5BCE7A #5B75CE #CE5BAE
square
#CEB45B #5BCE7A #5B75CE #CE5BAE
split-complementary
#CEB45B #5BAECE #7A5BCE
monochromatic
#867128 #B69936 #CEB45B #DCCA8A #EADFB9

Accessibility & contrast

On white

2.04
#CEB45B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.30
#CEB45B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB45B
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB45B#FFFFFF#000000##000000
##CEB45B1.002.0410.3010.30
#FFFFFF2.041.0021.0021.00
#00000010.3021.001.001.00
##00000010.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B153
Deuteranopia (green-blind)
#CBB95F
Tritanopia (blue-blind)
#DDA8A0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ceb45b;
/* rgb */ color: rgb(206, 180, 91);
/* oklch */ color: oklch(77.4% 0.113 93.3);
Tailwind
colors: {
  custom: {
    50: '#dfca8c',
    500: '#ceb45b',
    950: '#000000',
  },
}
SCSS
$custom: #ceb45b;
$custom-light: #dfca8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb45b",
  "rgb": {
    "r": 206,
    "g": 180,
    "b": 91
  },
  "hsl": {
    "h": 46.435,
    "s": 53.991,
    "l": 58.235
  },
  "oklch": {
    "l": 0.77436,
    "c": 0.11311,
    "h": 93.3
  },
  "luminance": 0.4652
}

Semantic roles & 50–950 ramp

primary
#CEB45B
secondary
#ABB6D9
accent
#6CDD4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CEB45B

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

Preview Lab → · Contrast checker → · Palette generator →

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