#CEB840#CEB840

#CEB840 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 78.0% C 0.138 H 98.7°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#CEB840
RGBrgb(206, 184, 64)
HSLhsl(51, 59%, 53%)
HSVhsv(51, 69%, 81%)
CMYKcmyk(0%, 10.7%, 68.9%, 19.2%)
CIE-LABlab(74.68, -5.49, 61.05)
CIE-LCHlch(74.68, 61.30, 95.14°)
OKLaboklab(77.99% -0.0208 0.1366)
OKLCHoklch(77.99% 0.138 98.7)
XYZxyz(43.5215, 47.7750, 11.7786)
Luminance0.4777 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB840 #4056CE
analogous
#CE7140 #CEB840 #9DCE40
triadic
#CEB840 #40CEB8 #B840CE
tetradic
#CEB840 #40CE71 #4056CE #CE409D
square
#CEB840 #40CE71 #4056CE #CE409D
split-complementary
#CEB840 #409DCE #7140CE
monochromatic
#75681E #A6932B #CEB840 #DACA71 #E7DCA1

Accessibility & contrast

On white

1.99
#CEB840 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.55
#CEB840 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB840
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB840#FFFFFF#000000##000000
##CEB8401.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB32F
Deuteranopia (green-blind)
#D0BB47
Tritanopia (blue-blind)
#DEABA0
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ceb840;
/* rgb */ color: rgb(206, 184, 64);
/* oklch */ color: oklch(78.0% 0.138 98.7);
Tailwind
colors: {
  custom: {
    50: '#e1cd7c',
    500: '#ceb840',
    950: '#000000',
  },
}
SCSS
$custom: #ceb840;
$custom-light: #e1cd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb840",
  "rgb": {
    "r": 206,
    "g": 184,
    "b": 64
  },
  "hsl": {
    "h": 50.704,
    "s": 59.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.7799,
    "c": 0.13818,
    "h": 98.7
  },
  "luminance": 0.47773
}

Semantic roles & 50–950 ramp

primary
#CEB840
secondary
#96A0D4
accent
#5EE245
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CEB840

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

Preview Lab → · Contrast checker → · Palette generator →

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