#CEB54B#CEB54B

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

Color values

HEX#CEB54B
RGBrgb(206, 181, 75)
HSLhsl(49, 57%, 55%)
HSVhsv(49, 64%, 81%)
CMYKcmyk(0%, 12.1%, 63.6%, 19.2%)
CIE-LABlab(73.98, -3.29, 55.70)
CIE-LCHlch(73.98, 55.79, 93.38°)
OKLaboklab(77.46% -0.0133 0.127)
OKLCHoklch(77.46% 0.128 96)
XYZxyz(43.2494, 46.6797, 13.3872)
Luminance0.4668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB54B #4B64CE
analogous
#CE744B #CEB54B #A5CE4B
triadic
#CEB54B #4BCEB5 #B54BCE
tetradic
#CEB54B #4BCE74 #4B64CE #CE4BA5
square
#CEB54B #4BCE74 #4B64CE #CE4BA5
split-complementary
#CEB54B #4BA5CE #744BCE
monochromatic
#7D6B22 #AD952F #CEB54B #DBC97B #E8DDAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEB54B#FFFFFF#000000##000000
##CEB54B1.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)
#C6B13F
Deuteranopia (green-blind)
#CDB950
Tritanopia (blue-blind)
#DEA89E
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ceb54b;
/* rgb */ color: rgb(206, 181, 75);
/* oklch */ color: oklch(77.5% 0.128 96.0);
Tailwind
colors: {
  custom: {
    50: '#e0ca82',
    500: '#ceb54b',
    950: '#000000',
  },
}
SCSS
$custom: #ceb54b;
$custom-light: #e0ca82;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb54b",
  "rgb": {
    "r": 206,
    "g": 181,
    "b": 75
  },
  "hsl": {
    "h": 48.55,
    "s": 57.205,
    "l": 55.098
  },
  "oklch": {
    "l": 0.77465,
    "c": 0.1277,
    "h": 96
  },
  "luminance": 0.46678
}

Semantic roles & 50–950 ramp

primary
#CEB54B
secondary
#9FA9D6
accent
#65E047
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CEB54B

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

Preview Lab → · Contrast checker → · Palette generator →

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