#CEAF51#CEAF51

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

Color values

HEX#CEAF51
RGBrgb(206, 175, 81)
HSLhsl(45, 56%, 56%)
HSVhsv(45, 61%, 81%)
CMYKcmyk(0%, 15%, 60.7%, 19.2%)
CIE-LABlab(72.48, 0.27, 51.31)
CIE-LCHlch(72.48, 51.31, 89.70°)
OKLaboklab(76.3% -0.0023 0.1185)
OKLCHoklch(76.3% 0.119 91.1)
XYZxyz(42.2707, 44.3781, 14.1223)
Luminance0.4438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEAF51 #5170CE
analogous
#CE7151 #CEAF51 #AFCE51
triadic
#CEAF51 #51CEAF #AF51CE
tetradic
#CEAF51 #51CE71 #5170CE #CE51AF
square
#CEAF51 #51CE71 #5170CE #CE51AF
split-complementary
#CEAF51 #51AFCE #7151CE
monochromatic
#806A24 #B09132 #CEAF51 #DBC581 #E9DBB1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CEAF51#FFFFFF#000000##000000
##CEAF511.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)
#C0AD47
Deuteranopia (green-blind)
#C8B655
Tritanopia (blue-blind)
#DEA29A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #ceaf51;
/* rgb */ color: rgb(206, 175, 81);
/* oklch */ color: oklch(76.3% 0.119 91.1);
Tailwind
colors: {
  custom: {
    50: '#e0c685',
    500: '#ceaf51',
    950: '#000000',
  },
}
SCSS
$custom: #ceaf51;
$custom-light: #e0c685;
$custom-dark: #000000;
JSON
{
  "hex": "#ceaf51",
  "rgb": {
    "r": 206,
    "g": 175,
    "b": 81
  },
  "hsl": {
    "h": 45.12,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.76295,
    "c": 0.11852,
    "h": 91.1
  },
  "luminance": 0.44376
}

Semantic roles & 50–950 ramp

primary
#CEAF51
secondary
#A4B0D7
accent
#6EDF48
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CEAF51

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

Preview Lab → · Contrast checker → · Palette generator →

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