#CEBA4A#CEBA4A

#CEBA4A is a light, vivid yellow. Relative luminance 0.487; OKLCH L 78.5% C 0.132 H 99.1°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#CEBA4A
RGBrgb(206, 186, 74)
HSLhsl(51, 57%, 55%)
HSVhsv(51, 64%, 81%)
CMYKcmyk(0%, 9.7%, 64.1%, 19.2%)
CIE-LABlab(75.29, -5.96, 57.53)
CIE-LCHlch(75.29, 57.84, 95.91°)
OKLaboklab(78.49% -0.021 0.1308)
OKLCHoklch(78.49% 0.132 99.1)
XYZxyz(44.2504, 48.7360, 13.5534)
Luminance0.4873 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBA4A #4A5ECE
analogous
#CE784A #CEBA4A #A0CE4A
triadic
#CEBA4A #4ACEBA #BA4ACE
tetradic
#CEBA4A #4ACE78 #4A5ECE #CE4AA0
square
#CEBA4A #4ACE78 #4A5ECE #CE4AA0
split-complementary
#CEBA4A #4AA0CE #784ACE
monochromatic
#7C6E22 #AC992F #CEBA4A #DBCC7A #E8DFAA

Accessibility & contrast

On white

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

On black

10.75
#CEBA4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBA4A
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBA4A#FFFFFF#000000##000000
##CEBA4A1.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB53D
Deuteranopia (green-blind)
#D0BD50
Tritanopia (blue-blind)
#DDADA2
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ceba4a;
/* rgb */ color: rgb(206, 186, 74);
/* oklch */ color: oklch(78.5% 0.132 99.1);
Tailwind
colors: {
  custom: {
    50: '#e0ce81',
    500: '#ceba4a',
    950: '#000000',
  },
}
SCSS
$custom: #ceba4a;
$custom-light: #e0ce81;
$custom-dark: #000000;
JSON
{
  "hex": "#ceba4a",
  "rgb": {
    "r": 206,
    "g": 186,
    "b": 74
  },
  "hsl": {
    "h": 50.909,
    "s": 57.391,
    "l": 54.902
  },
  "oklch": {
    "l": 0.78494,
    "c": 0.13244,
    "h": 99.1
  },
  "luminance": 0.48734
}

Semantic roles & 50–950 ramp

primary
#CEBA4A
secondary
#9EA7D6
accent
#5EE147
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CEBA4A

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

Preview Lab → · Contrast checker → · Palette generator →

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