#CEB251#CEB251

#CEB251 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.9% C 0.121 H 93.3°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#CEB251
RGBrgb(206, 178, 81)
HSLhsl(47, 56%, 56%)
HSVhsv(47, 61%, 81%)
CMYKcmyk(0%, 13.6%, 60.7%, 19.2%)
CIE-LABlab(73.26, -1.31, 52.19)
CIE-LCHlch(73.26, 52.20, 91.44°)
OKLaboklab(76.91% -0.0069 0.1204)
OKLCHoklch(76.91% 0.121 93.3)
XYZxyz(42.8611, 45.5588, 14.3191)
Luminance0.4556 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB251 #516DCE
analogous
#CE7451 #CEB251 #ACCE51
triadic
#CEB251 #51CEB2 #B251CE
tetradic
#CEB251 #51CE74 #516DCE #CE51AC
square
#CEB251 #51CE74 #516DCE #CE51AC
split-complementary
#CEB251 #51ACCE #7451CE
monochromatic
#806C24 #B09432 #CEB251 #DBC781 #E9DCB1

Accessibility & contrast

On white

2.08
#CEB251 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.11
#CEB251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB251
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB251#FFFFFF#000000##000000
##CEB2511.002.0810.1110.11
#FFFFFF2.081.0021.0021.00
#00000010.1121.001.001.00
##00000010.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF47
Deuteranopia (green-blind)
#CAB755
Tritanopia (blue-blind)
#DDA59D
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #ceb251;
/* rgb */ color: rgb(206, 178, 81);
/* oklch */ color: oklch(76.9% 0.121 93.3);
Tailwind
colors: {
  custom: {
    50: '#e0c885',
    500: '#ceb251',
    950: '#000000',
  },
}
SCSS
$custom: #ceb251;
$custom-light: #e0c885;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb251",
  "rgb": {
    "r": 206,
    "g": 178,
    "b": 81
  },
  "hsl": {
    "h": 46.56,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.76909,
    "c": 0.12057,
    "h": 93.3
  },
  "luminance": 0.45557
}

Semantic roles & 50–950 ramp

primary
#CEB251
secondary
#A4AFD7
accent
#6ADF48
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CEB251

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

Preview Lab → · Contrast checker → · Palette generator →

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