#CEBA4F#CEBA4F

#CEBA4F is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.5% C 0.128 H 98.8°. Best body text is #000000 at 10.76:1 contrast (WCAG AA passes).

Color values

HEX#CEBA4F
RGBrgb(206, 186, 79)
HSLhsl(51, 56%, 56%)
HSVhsv(51, 62%, 81%)
CMYKcmyk(0%, 9.7%, 61.7%, 19.2%)
CIE-LABlab(75.33, -5.63, 55.39)
CIE-LCHlch(75.33, 55.68, 95.81°)
OKLaboklab(78.54% -0.0195 0.1269)
OKLCHoklch(78.54% 0.128 98.8)
XYZxyz(44.4256, 48.8061, 14.4761)
Luminance0.4880 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBA4F #4F63CE
analogous
#CE7A4F #CEBA4F #A2CE4F
triadic
#CEBA4F #4FCEBA #BA4FCE
tetradic
#CEBA4F #4FCE7A #4F63CE #CE4FA2
square
#CEBA4F #4FCE7A #4F63CE #CE4FA2
split-complementary
#CEBA4F #4FA2CE #7A4FCE
monochromatic
#7F7123 #AF9B31 #CEBA4F #DBCD7F #E9E0AF

Accessibility & contrast

On white

1.95
#CEBA4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.76
#CEBA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBA4F
10.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBA4F#FFFFFF#000000##000000
##CEBA4F1.001.9510.7610.76
#FFFFFF1.951.0021.0021.00
#00000010.7621.001.001.00
##00000010.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB543
Deuteranopia (green-blind)
#D0BD54
Tritanopia (blue-blind)
#DDADA3
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ceba4f;
/* rgb */ color: rgb(206, 186, 79);
/* oklch */ color: oklch(78.5% 0.128 98.8);
Tailwind
colors: {
  custom: {
    50: '#e0ce85',
    500: '#ceba4f',
    950: '#000000',
  },
}
SCSS
$custom: #ceba4f;
$custom-light: #e0ce85;
$custom-dark: #000000;
JSON
{
  "hex": "#ceba4f",
  "rgb": {
    "r": 206,
    "g": 186,
    "b": 79
  },
  "hsl": {
    "h": 50.551,
    "s": 56.444,
    "l": 55.882
  },
  "oklch": {
    "l": 0.78542,
    "c": 0.12843,
    "h": 98.8
  },
  "luminance": 0.48804
}

Semantic roles & 50–950 ramp

primary
#CEBA4F
secondary
#A2AAD7
accent
#60E048
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CEBA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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