#CEB841#CEB841

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

Color values

HEX#CEB841
RGBrgb(206, 184, 65)
HSLhsl(51, 59%, 53%)
HSVhsv(51, 68%, 81%)
CMYKcmyk(0%, 10.7%, 68.4%, 19.2%)
CIE-LABlab(74.69, -5.44, 60.66)
CIE-LCHlch(74.69, 60.90, 95.12°)
OKLaboklab(78% -0.0206 0.1359)
OKLCHoklch(78% 0.137 98.6)
XYZxyz(43.5502, 47.7865, 11.9298)
Luminance0.4778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB841 #4157CE
analogous
#CE7141 #CEB841 #9ECE41
triadic
#CEB841 #41CEB8 #B841CE
tetradic
#CEB841 #41CE71 #4157CE #CE419E
square
#CEB841 #41CE71 #4157CE #CE419E
split-complementary
#CEB841 #419ECE #7141CE
monochromatic
#76681E #A7932B #CEB841 #DBCA72 #E7DCA2

Accessibility & contrast

On white

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

On black

10.56
#CEB841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB841
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB841#FFFFFF#000000##000000
##CEB8411.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ceb841;
/* rgb */ color: rgb(206, 184, 65);
/* oklch */ color: oklch(78.0% 0.137 98.6);
Tailwind
colors: {
  custom: {
    50: '#e1cd7c',
    500: '#ceb841',
    950: '#000000',
  },
}
SCSS
$custom: #ceb841;
$custom-light: #e1cd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb841",
  "rgb": {
    "r": 206,
    "g": 184,
    "b": 65
  },
  "hsl": {
    "h": 50.638,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.77998,
    "c": 0.13749,
    "h": 98.6
  },
  "luminance": 0.47784
}

Semantic roles & 50–950 ramp

primary
#CEB841
secondary
#97A0D4
accent
#5EE246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CEB841

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

Preview Lab → · Contrast checker → · Palette generator →

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