#CEB548#CEB548

#CEB548 is a light, vivid yellow. Relative luminance 0.466; OKLCH L 77.4% C 0.130 H 96.3°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#CEB548
RGBrgb(206, 181, 72)
HSLhsl(49, 58%, 55%)
HSVhsv(49, 65%, 81%)
CMYKcmyk(0%, 12.1%, 65%, 19.2%)
CIE-LABlab(73.96, -3.47, 56.98)
CIE-LCHlch(73.96, 57.08, 93.49°)
OKLaboklab(77.44% -0.0142 0.1293)
OKLCHoklch(77.44% 0.13 96.3)
XYZxyz(43.1491, 46.6396, 12.8592)
Luminance0.4664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB548 #4861CE
analogous
#CE7248 #CEB548 #A4CE48
triadic
#CEB548 #48CEB5 #B548CE
tetradic
#CEB548 #48CE72 #4861CE #CE48A4
square
#CEB548 #48CE72 #4861CE #CE48A4
split-complementary
#CEB548 #48A4CE #7248CE
monochromatic
#7B6A21 #AB942E #CEB548 #DBC978 #E8DCA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEB548#FFFFFF#000000##000000
##CEB5481.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)
#C6B13B
Deuteranopia (green-blind)
#CDB94E
Tritanopia (blue-blind)
#DEA89E
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #ceb548;
/* rgb */ color: rgb(206, 181, 72);
/* oklch */ color: oklch(77.4% 0.130 96.3);
Tailwind
colors: {
  custom: {
    50: '#e0ca80',
    500: '#ceb548',
    950: '#000000',
  },
}
SCSS
$custom: #ceb548;
$custom-light: #e0ca80;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb548",
  "rgb": {
    "r": 206,
    "g": 181,
    "b": 72
  },
  "hsl": {
    "h": 48.806,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.77436,
    "c": 0.13005,
    "h": 96.3
  },
  "luminance": 0.46637
}

Semantic roles & 50–950 ramp

primary
#CEB548
secondary
#9DA7D5
accent
#64E147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CEB548

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

Preview Lab → · Contrast checker → · Palette generator →

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