#CEB941#CEB941

#CEB941 is a light, vivid yellow. Relative luminance 0.482; OKLCH L 78.2% C 0.138 H 99.2°. Best body text is #000000 at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#CEB941
RGBrgb(206, 185, 65)
HSLhsl(51, 59%, 53%)
HSVhsv(51, 68%, 81%)
CMYKcmyk(0%, 10.2%, 68.4%, 19.2%)
CIE-LABlab(74.95, -5.96, 60.93)
CIE-LCHlch(74.95, 61.22, 95.58°)
OKLaboklab(78.21% -0.0221 0.1365)
OKLCHoklch(78.21% 0.138 99.2)
XYZxyz(43.7587, 48.2034, 11.9993)
Luminance0.4820 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB941 #4156CE
analogous
#CE7241 #CEB941 #9CCE41
triadic
#CEB941 #41CEB9 #B941CE
tetradic
#CEB941 #41CE72 #4156CE #CE419C
square
#CEB941 #41CE72 #4156CE #CE419C
split-complementary
#CEB941 #419CCE #7241CE
monochromatic
#76691E #A7942B #CEB941 #DBCB72 #E7DDA2

Accessibility & contrast

On white

1.97
#CEB941 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.64
#CEB941 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB941
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB941#FFFFFF#000000##000000
##CEB9411.001.9710.6410.64
#FFFFFF1.971.0021.0021.00
#00000010.6421.001.001.00
##00000010.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB430
Deuteranopia (green-blind)
#D0BC48
Tritanopia (blue-blind)
#DEACA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #ceb941;
/* rgb */ color: rgb(206, 185, 65);
/* oklch */ color: oklch(78.2% 0.138 99.2);
Tailwind
colors: {
  custom: {
    50: '#e1cd7c',
    500: '#ceb941',
    950: '#000000',
  },
}
SCSS
$custom: #ceb941;
$custom-light: #e1cd7c;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb941",
  "rgb": {
    "r": 206,
    "g": 185,
    "b": 65
  },
  "hsl": {
    "h": 51.064,
    "s": 58.996,
    "l": 53.137
  },
  "oklch": {
    "l": 0.78206,
    "c": 0.13827,
    "h": 99.2
  },
  "luminance": 0.48201
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CEB941

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

Preview Lab → · Contrast checker → · Palette generator →

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