#CEB948#CEB948

#CEB948 is a light, vivid yellow. Relative luminance 0.483; OKLCH L 78.3% C 0.133 H 98.7°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#CEB948
RGBrgb(206, 185, 72)
HSLhsl(51, 58%, 55%)
HSVhsv(51, 65%, 81%)
CMYKcmyk(0%, 10.2%, 65%, 19.2%)
CIE-LABlab(75.01, -5.56, 58.09)
CIE-LCHlch(75.01, 58.35, 95.47°)
OKLaboklab(78.27% -0.0201 0.1316)
OKLCHoklch(78.27% 0.133 98.7)
XYZxyz(43.9742, 48.2896, 13.1342)
Luminance0.4829 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB948 #485DCE
analogous
#CE7648 #CEB948 #A0CE48
triadic
#CEB948 #48CEB9 #B948CE
tetradic
#CEB948 #48CE76 #485DCE #CE48A0
square
#CEB948 #48CE76 #485DCE #CE48A0
split-complementary
#CEB948 #48A0CE #7648CE
monochromatic
#7B6D21 #AB972E #CEB948 #DBCB78 #E8DEA9

Accessibility & contrast

On white

1.97
#CEB948 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.66
#CEB948 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB948
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB948#FFFFFF#000000##000000
##CEB9481.001.9710.6610.66
#FFFFFF1.971.0021.0021.00
#00000010.6621.001.001.00
##00000010.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB43A
Deuteranopia (green-blind)
#D0BC4E
Tritanopia (blue-blind)
#DDACA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ceb948;
/* rgb */ color: rgb(206, 185, 72);
/* oklch */ color: oklch(78.3% 0.133 98.7);
Tailwind
colors: {
  custom: {
    50: '#e0cd80',
    500: '#ceb948',
    950: '#000000',
  },
}
SCSS
$custom: #ceb948;
$custom-light: #e0cd80;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb948",
  "rgb": {
    "r": 206,
    "g": 185,
    "b": 72
  },
  "hsl": {
    "h": 50.597,
    "s": 57.759,
    "l": 54.51
  },
  "oklch": {
    "l": 0.78267,
    "c": 0.13317,
    "h": 98.7
  },
  "luminance": 0.48288
}

Semantic roles & 50–950 ramp

primary
#CEB948
secondary
#9DA5D5
accent
#5FE147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CEB948

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

Preview Lab → · Contrast checker → · Palette generator →

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