#CEB451#CEB451

#CEB451 is a light, vivid yellow. Relative luminance 0.464; OKLCH L 77.3% C 0.122 H 94.7°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#CEB451
RGBrgb(206, 180, 81)
HSLhsl(48, 56%, 56%)
HSVhsv(48, 61%, 81%)
CMYKcmyk(0%, 12.6%, 60.7%, 19.2%)
CIE-LABlab(73.78, -2.36, 52.77)
CIE-LCHlch(73.78, 52.82, 92.56°)
OKLaboklab(77.32% -0.0099 0.1216)
OKLCHoklch(77.32% 0.122 94.7)
XYZxyz(43.2619, 46.3605, 14.4527)
Luminance0.4636 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB451 #516BCE
analogous
#CE7651 #CEB451 #AACE51
triadic
#CEB451 #51CEB4 #B451CE
tetradic
#CEB451 #51CE76 #516BCE #CE51AA
square
#CEB451 #51CE76 #516BCE #CE51AA
split-complementary
#CEB451 #51AACE #7651CE
monochromatic
#806D24 #B09632 #CEB451 #DBC981 #E9DDB1

Accessibility & contrast

On white

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

On black

10.27
#CEB451 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB451
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB451#FFFFFF#000000##000000
##CEB4511.002.0410.2710.27
#FFFFFF2.041.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B147
Deuteranopia (green-blind)
#CCB956
Tritanopia (blue-blind)
#DDA79E
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ceb451;
/* rgb */ color: rgb(206, 180, 81);
/* oklch */ color: oklch(77.3% 0.122 94.7);
Tailwind
colors: {
  custom: {
    50: '#e0ca85',
    500: '#ceb451',
    950: '#000000',
  },
}
SCSS
$custom: #ceb451;
$custom-light: #e0ca85;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb451",
  "rgb": {
    "r": 206,
    "g": 180,
    "b": 81
  },
  "hsl": {
    "h": 47.52,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.7732,
    "c": 0.12201,
    "h": 94.7
  },
  "luminance": 0.46358
}

Semantic roles & 50–950 ramp

primary
#CEB451
secondary
#A4AED7
accent
#68DF48
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CEB451

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

Preview Lab → · Contrast checker → · Palette generator →

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