#CEB943#CEB943

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

Color values

HEX#CEB943
RGBrgb(206, 185, 67)
HSLhsl(51, 59%, 54%)
HSVhsv(51, 67%, 81%)
CMYKcmyk(0%, 10.2%, 67.5%, 19.2%)
CIE-LABlab(74.97, -5.85, 60.13)
CIE-LCHlch(74.97, 60.42, 95.55°)
OKLaboklab(78.22% -0.0215 0.1352)
OKLCHoklch(78.22% 0.137 99.1)
XYZxyz(43.8177, 48.2270, 12.3098)
Luminance0.4823 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB943 #4358CE
analogous
#CE7343 #CEB943 #9DCE43
triadic
#CEB943 #43CEB9 #B943CE
tetradic
#CEB943 #43CE73 #4358CE #CE439D
square
#CEB943 #43CE73 #4358CE #CE439D
split-complementary
#CEB943 #439DCE #7343CE
monochromatic
#776A1F #A8952C #CEB943 #DBCB74 #E7DDA4

Accessibility & contrast

On white

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

On black

10.65
#CEB943 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB943
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB943#FFFFFF#000000##000000
##CEB9431.001.9710.6510.65
#FFFFFF1.971.0021.0021.00
#00000010.6521.001.001.00
##00000010.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB433
Deuteranopia (green-blind)
#D0BC4A
Tritanopia (blue-blind)
#DEACA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #ceb943;
/* rgb */ color: rgb(206, 185, 67);
/* oklch */ color: oklch(78.2% 0.137 99.1);
Tailwind
colors: {
  custom: {
    50: '#e0cd7d',
    500: '#ceb943',
    950: '#000000',
  },
}
SCSS
$custom: #ceb943;
$custom-light: #e0cd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb943",
  "rgb": {
    "r": 206,
    "g": 185,
    "b": 67
  },
  "hsl": {
    "h": 50.935,
    "s": 58.65,
    "l": 53.529
  },
  "oklch": {
    "l": 0.78223,
    "c": 0.13686,
    "h": 99.1
  },
  "luminance": 0.48225
}

Semantic roles & 50–950 ramp

primary
#CEB943
secondary
#99A2D4
accent
#5EE246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CEB943

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

Preview Lab → · Contrast checker → · Palette generator →

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