#CEAF52#CEAF52

#CEAF52 is a light, moderate yellow. Relative luminance 0.444; OKLCH L 76.3% C 0.118 H 91.0°. Best body text is #000000 at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#CEAF52
RGBrgb(206, 175, 82)
HSLhsl(45, 56%, 56%)
HSVhsv(45, 60%, 81%)
CMYKcmyk(0%, 15%, 60.2%, 19.2%)
CIE-LABlab(72.49, 0.34, 50.86)
CIE-LCHlch(72.49, 50.86, 89.61°)
OKLaboklab(76.31% -0.002 0.1177)
OKLCHoklch(76.31% 0.118 91)
XYZxyz(42.3085, 44.3932, 14.3213)
Luminance0.4439 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEAF52 #5271CE
analogous
#CE7152 #CEAF52 #AFCE52
triadic
#CEAF52 #52CEAF #AF52CE
tetradic
#CEAF52 #52CE71 #5271CE #CE52AF
square
#CEAF52 #52CE71 #5271CE #CE52AF
split-complementary
#CEAF52 #52AFCE #7152CE
monochromatic
#816A25 #B19132 #CEAF52 #DCC582 #E9DBB1

Accessibility & contrast

On white

2.13
#CEAF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.88
#CEAF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEAF52
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEAF52#FFFFFF#000000##000000
##CEAF521.002.139.889.88
#FFFFFF2.131.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AD49
Deuteranopia (green-blind)
#C8B656
Tritanopia (blue-blind)
#DEA29A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ceaf52;
/* rgb */ color: rgb(206, 175, 82);
/* oklch */ color: oklch(76.3% 0.118 91.0);
Tailwind
colors: {
  custom: {
    50: '#e0c686',
    500: '#ceaf52',
    950: '#000000',
  },
}
SCSS
$custom: #ceaf52;
$custom-light: #e0c686;
$custom-dark: #000000;
JSON
{
  "hex": "#ceaf52",
  "rgb": {
    "r": 206,
    "g": 175,
    "b": 82
  },
  "hsl": {
    "h": 45,
    "s": 55.856,
    "l": 56.471
  },
  "oklch": {
    "l": 0.76306,
    "c": 0.11767,
    "h": 91
  },
  "luminance": 0.44391
}

Semantic roles & 50–950 ramp

primary
#CEAF52
secondary
#A4B1D7
accent
#6EDF49
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CEAF52

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

Preview Lab → · Contrast checker → · Palette generator →

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