#CEB54A#CEB54A

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

Color values

HEX#CEB54A
RGBrgb(206, 181, 74)
HSLhsl(49, 57%, 55%)
HSVhsv(49, 64%, 81%)
CMYKcmyk(0%, 12.1%, 64.1%, 19.2%)
CIE-LABlab(73.98, -3.35, 56.12)
CIE-LCHlch(73.98, 56.22, 93.42°)
OKLaboklab(77.46% -0.0136 0.1278)
OKLCHoklch(77.46% 0.129 96.1)
XYZxyz(43.2155, 46.6661, 13.2084)
Luminance0.4666 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB54A #4A63CE
analogous
#CE734A #CEB54A #A5CE4A
triadic
#CEB54A #4ACEB5 #B54ACE
tetradic
#CEB54A #4ACE73 #4A63CE #CE4AA5
square
#CEB54A #4ACE73 #4A63CE #CE4AA5
split-complementary
#CEB54A #4AA5CE #734ACE
monochromatic
#7C6B22 #AC942F #CEB54A #DBC97A #E8DCAA

Accessibility & contrast

On white

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

On black

10.33
#CEB54A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB54A
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB54A#FFFFFF#000000##000000
##CEB54A1.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B13D
Deuteranopia (green-blind)
#CDB94F
Tritanopia (blue-blind)
#DEA89E
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ceb54a;
/* rgb */ color: rgb(206, 181, 74);
/* oklch */ color: oklch(77.5% 0.129 96.1);
Tailwind
colors: {
  custom: {
    50: '#e0ca81',
    500: '#ceb54a',
    950: '#000000',
  },
}
SCSS
$custom: #ceb54a;
$custom-light: #e0ca81;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb54a",
  "rgb": {
    "r": 206,
    "g": 181,
    "b": 74
  },
  "hsl": {
    "h": 48.636,
    "s": 57.391,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77455,
    "c": 0.1285,
    "h": 96.1
  },
  "luminance": 0.46664
}

Semantic roles & 50–950 ramp

primary
#CEB54A
secondary
#9EA9D6
accent
#64E147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CEB54A

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

Preview Lab → · Contrast checker → · Palette generator →

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