#CEB52E#CEB52E

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

Color values

HEX#CEB52E
RGBrgb(206, 181, 46)
HSLhsl(51, 63%, 49%)
HSVhsv(51, 78%, 81%)
CMYKcmyk(0%, 12.1%, 77.7%, 19.2%)
CIE-LABlab(73.78, -4.74, 66.73)
CIE-LCHlch(73.78, 66.90, 94.06°)
OKLaboklab(77.24% -0.0206 0.1453)
OKLCHoklch(77.24% 0.147 98.1)
XYZxyz(42.4728, 46.3690, 9.2972)
Luminance0.4637 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB52E #2E47CE
analogous
#CE652E #CEB52E #97CE2E
triadic
#CEB52E #2ECEB5 #B52ECE
tetradic
#CEB52E #2ECE65 #2E47CE #CE2E97
square
#CEB52E #2ECE65 #2E47CE #CE2E97
split-complementary
#CEB52E #2E97CE #652ECE
monochromatic
#6A5D18 #9C8923 #CEB52E #DBC85E #E6D990

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEB52E#FFFFFF#000000##000000
##CEB52E1.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)
#C8B00D
Deuteranopia (green-blind)
#CEB938
Tritanopia (blue-blind)
#DFA79C
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #ceb52e;
/* rgb */ color: rgb(206, 181, 46);
/* oklch */ color: oklch(77.2% 0.147 98.1);
Tailwind
colors: {
  custom: {
    50: '#e1ca72',
    500: '#ceb52e',
    950: '#000000',
  },
}
SCSS
$custom: #ceb52e;
$custom-light: #e1ca72;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb52e",
  "rgb": {
    "r": 206,
    "g": 181,
    "b": 46
  },
  "hsl": {
    "h": 50.625,
    "s": 63.492,
    "l": 49.412
  },
  "oklch": {
    "l": 0.77243,
    "c": 0.14673,
    "h": 98.1
  },
  "luminance": 0.46367
}

Semantic roles & 50–950 ramp

primary
#CEB52E
secondary
#8793D1
accent
#5BE741
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161309
muted
#84827B

Preview Lab

Preview with #CEB52E

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

Preview Lab → · Contrast checker → · Palette generator →

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