#CEBA40#CEBA40

#CEBA40 is a light, vivid yellow. Relative luminance 0.486; OKLCH L 78.4% C 0.140 H 99.8°. Best body text is #000000 at 10.72:1 contrast (WCAG AA passes).

Color values

HEX#CEBA40
RGBrgb(206, 186, 64)
HSLhsl(52, 59%, 53%)
HSVhsv(52, 69%, 81%)
CMYKcmyk(0%, 9.7%, 68.9%, 19.2%)
CIE-LABlab(75.21, -6.53, 61.59)
CIE-LCHlch(75.21, 61.93, 96.05°)
OKLaboklab(78.41% -0.0238 0.1377)
OKLCHoklch(78.41% 0.14 99.8)
XYZxyz(43.9399, 48.6118, 11.9180)
Luminance0.4861 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEBA40 #4054CE
analogous
#CE7340 #CEBA40 #9BCE40
triadic
#CEBA40 #40CEBA #BA40CE
tetradic
#CEBA40 #40CE73 #4054CE #CE409B
square
#CEBA40 #40CE73 #4054CE #CE409B
split-complementary
#CEBA40 #409BCE #7340CE
monochromatic
#75691E #A6952B #CEBA40 #DACC71 #E7DDA1

Accessibility & contrast

On white

1.96
#CEBA40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.72
#CEBA40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEBA40
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEBA40#FFFFFF#000000##000000
##CEBA401.001.9610.7210.72
#FFFFFF1.961.0021.0021.00
#00000010.7221.001.001.00
##00000010.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB52F
Deuteranopia (green-blind)
#D1BC47
Tritanopia (blue-blind)
#DEADA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ceba40;
/* rgb */ color: rgb(206, 186, 64);
/* oklch */ color: oklch(78.4% 0.140 99.8);
Tailwind
colors: {
  custom: {
    50: '#e1ce7c',
    500: '#ceba40',
    950: '#000000',
  },
}
SCSS
$custom: #ceba40;
$custom-light: #e1ce7c;
$custom-dark: #000000;
JSON
{
  "hex": "#ceba40",
  "rgb": {
    "r": 206,
    "g": 186,
    "b": 64
  },
  "hsl": {
    "h": 51.549,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.78407,
    "c": 0.13976,
    "h": 99.8
  },
  "luminance": 0.4861
}

Semantic roles & 50–950 ramp

primary
#CEBA40
secondary
#969FD4
accent
#5CE245
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CEBA40

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

Preview Lab → · Contrast checker → · Palette generator →

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