#CEB852#CEB852

#CEB852 is a light, vivid yellow. Relative luminance 0.480; OKLCH L 78.2% C 0.124 H 97.2°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#CEB852
RGBrgb(206, 184, 82)
HSLhsl(49, 56%, 56%)
HSVhsv(49, 60%, 81%)
CMYKcmyk(0%, 10.7%, 60.2%, 19.2%)
CIE-LABlab(74.83, -4.39, 53.49)
CIE-LCHlch(74.83, 53.67, 94.69°)
OKLaboklab(78.16% -0.0156 0.1233)
OKLCHoklch(78.16% 0.124 97.2)
XYZxyz(44.1189, 48.0140, 14.9247)
Luminance0.4801 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB852 #5268CE
analogous
#CE7A52 #CEB852 #A6CE52
triadic
#CEB852 #52CEB8 #B852CE
tetradic
#CEB852 #52CE7A #5268CE #CE52A6
square
#CEB852 #52CE7A #5268CE #CE52A6
split-complementary
#CEB852 #52A6CE #7A52CE
monochromatic
#817125 #B19A32 #CEB852 #DCCC82 #E9DFB1

Accessibility & contrast

On white

1.98
#CEB852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.60
#CEB852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB852
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB852#FFFFFF#000000##000000
##CEB8521.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B447
Deuteranopia (green-blind)
#CEBB57
Tritanopia (blue-blind)
#DDACA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ceb852;
/* rgb */ color: rgb(206, 184, 82);
/* oklch */ color: oklch(78.2% 0.124 97.2);
Tailwind
colors: {
  custom: {
    50: '#e0cd86',
    500: '#ceb852',
    950: '#000000',
  },
}
SCSS
$custom: #ceb852;
$custom-light: #e0cd86;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb852",
  "rgb": {
    "r": 206,
    "g": 184,
    "b": 82
  },
  "hsl": {
    "h": 49.355,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.78158,
    "c": 0.12426,
    "h": 97.2
  },
  "luminance": 0.48012
}

Semantic roles & 50–950 ramp

primary
#CEB852
secondary
#A4ADD7
accent
#63DF49
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130B
muted
#84827C

Preview Lab

Preview with #CEB852

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

Preview Lab → · Contrast checker → · Palette generator →

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