#CEBA5B#CEBA5B

#CEBA5B is a light, moderate yellow. Relative luminance 0.490; OKLCH L 78.7% C 0.118 H 97.6°. Best body text is #000000 at 10.80:1 contrast (WCAG AA passes).

Color values

HEX#CEBA5B
RGBrgb(206, 186, 91)
HSLhsl(50, 54%, 58%)
HSVhsv(50, 56%, 81%)
CMYKcmyk(0%, 9.7%, 55.8%, 19.2%)
CIE-LABlab(75.45, -4.76, 50.00)
CIE-LCHlch(75.45, 50.23, 95.44°)
OKLaboklab(78.68% -0.0156 0.1169)
OKLCHoklch(78.68% 0.118 97.6)
XYZxyz(44.9025, 48.9968, 16.9876)
Luminance0.4899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBA5B #5B6FCE
analogous
#CE805B #CEBA5B #A8CE5B
triadic
#CEBA5B #5BCEBA #BA5BCE
tetradic
#CEBA5B #5BCE80 #5B6FCE #CE5BA8
square
#CEBA5B #5BCE80 #5B6FCE #CE5BA8
split-complementary
#CEBA5B #5BA8CE #805BCE
monochromatic
#867628 #B69F36 #CEBA5B #DCCE8A #EAE2B9

Accessibility & contrast

On white

1.94
#CEBA5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.80
#CEBA5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBA5B
10.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBA5B#FFFFFF#000000##000000
##CEBA5B1.001.9410.8010.80
#FFFFFF1.941.0021.0021.00
#00000010.8021.001.001.00
##00000010.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB652
Deuteranopia (green-blind)
#CFBD5F
Tritanopia (blue-blind)
#DCAEA5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #ceba5b;
/* rgb */ color: rgb(206, 186, 91);
/* oklch */ color: oklch(78.7% 0.118 97.6);
Tailwind
colors: {
  custom: {
    50: '#dfce8c',
    500: '#ceba5b',
    950: '#000000',
  },
}
SCSS
$custom: #ceba5b;
$custom-light: #dfce8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ceba5b",
  "rgb": {
    "r": 206,
    "g": 186,
    "b": 91
  },
  "hsl": {
    "h": 49.565,
    "s": 53.991,
    "l": 58.235
  },
  "oklch": {
    "l": 0.78675,
    "c": 0.11791,
    "h": 97.6
  },
  "luminance": 0.48995
}

Semantic roles & 50–950 ramp

primary
#CEBA5B
secondary
#ABB3D9
accent
#64DD4A
background
#FEFCF8
surface
#FCF9F0
border
#D5D2CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CEBA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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