#CEB54D#CEB54D

#CEB54D is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.5% C 0.126 H 95.8°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#CEB54D
RGBrgb(206, 181, 77)
HSLhsl(48, 57%, 55%)
HSVhsv(48, 63%, 81%)
CMYKcmyk(0%, 12.1%, 62.6%, 19.2%)
CIE-LABlab(74.00, -3.16, 54.83)
CIE-LCHlch(74.00, 54.92, 93.30°)
OKLaboklab(77.49% -0.0127 0.1255)
OKLCHoklch(77.49% 0.126 95.8)
XYZxyz(43.3189, 46.7075, 13.7534)
Luminance0.4671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB54D #4D66CE
analogous
#CE744D #CEB54D #A6CE4D
triadic
#CEB54D #4DCEB5 #B54DCE
tetradic
#CEB54D #4DCE74 #4D66CE #CE4DA6
square
#CEB54D #4DCE74 #4D66CE #CE4DA6
split-complementary
#CEB54D #4DA6CE #744DCE
monochromatic
#7E6C23 #AE9530 #CEB54D #DBC97D #E8DDAD

Accessibility & contrast

On white

2.03
#CEB54D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#CEB54D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB54D
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB54D#FFFFFF#000000##000000
##CEB54D1.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B141
Deuteranopia (green-blind)
#CDB952
Tritanopia (blue-blind)
#DDA89F
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ceb54d;
/* rgb */ color: rgb(206, 181, 77);
/* oklch */ color: oklch(77.5% 0.126 95.8);
Tailwind
colors: {
  custom: {
    50: '#e0ca83',
    500: '#ceb54d',
    950: '#000000',
  },
}
SCSS
$custom: #ceb54d;
$custom-light: #e0ca83;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb54d",
  "rgb": {
    "r": 206,
    "g": 181,
    "b": 77
  },
  "hsl": {
    "h": 48.372,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.77485,
    "c": 0.12609,
    "h": 95.8
  },
  "luminance": 0.46705
}

Semantic roles & 50–950 ramp

primary
#CEB54D
secondary
#A1ABD6
accent
#65E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CEB54D

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

Preview Lab → · Contrast checker → · Palette generator →

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