#CEB947#CEB947

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

Color values

HEX#CEB947
RGBrgb(206, 185, 71)
HSLhsl(51, 58%, 54%)
HSVhsv(51, 66%, 81%)
CMYKcmyk(0%, 10.2%, 65.5%, 19.2%)
CIE-LABlab(75.00, -5.62, 58.50)
CIE-LCHlch(75.00, 58.77, 95.49°)
OKLaboklab(78.26% -0.0204 0.1324)
OKLCHoklch(78.26% 0.134 98.8)
XYZxyz(43.9418, 48.2767, 12.9638)
Luminance0.4828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB947 #475CCE
analogous
#CE7647 #CEB947 #9FCE47
triadic
#CEB947 #47CEB9 #B947CE
tetradic
#CEB947 #47CE76 #475CCE #CE479F
square
#CEB947 #47CE76 #475CCE #CE479F
split-complementary
#CEB947 #479FCE #7647CE
monochromatic
#7A6C21 #AA972D #CEB947 #DBCB77 #E8DEA8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEB947#FFFFFF#000000##000000
##CEB9471.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)
#CAB439
Deuteranopia (green-blind)
#D0BC4D
Tritanopia (blue-blind)
#DDACA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ceb947;
/* rgb */ color: rgb(206, 185, 71);
/* oklch */ color: oklch(78.3% 0.134 98.8);
Tailwind
colors: {
  custom: {
    50: '#e0cd80',
    500: '#ceb947',
    950: '#000000',
  },
}
SCSS
$custom: #ceb947;
$custom-light: #e0cd80;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb947",
  "rgb": {
    "r": 206,
    "g": 185,
    "b": 71
  },
  "hsl": {
    "h": 50.667,
    "s": 57.94,
    "l": 54.314
  },
  "oklch": {
    "l": 0.78258,
    "c": 0.13393,
    "h": 98.8
  },
  "luminance": 0.48275
}

Semantic roles & 50–950 ramp

primary
#CEB947
secondary
#9CA5D5
accent
#5FE147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130A
muted
#84827C

Preview Lab

Preview with #CEB947

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

Preview Lab → · Contrast checker → · Palette generator →

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