#CEAB3C#CEAB3C

#CEAB3C is a light, vivid yellow. Relative luminance 0.426; OKLCH L 75.3% C 0.132 H 91.0°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#CEAB3C
RGBrgb(206, 171, 60)
HSLhsl(46, 60%, 52%)
HSVhsv(46, 71%, 81%)
CMYKcmyk(0%, 17%, 70.9%, 19.2%)
CIE-LABlab(71.27, 1.13, 59.21)
CIE-LCHlch(71.27, 59.22, 88.90°)
OKLaboklab(75.28% -0.0024 0.132)
OKLCHoklch(75.28% 0.132 91)
XYZxyz(40.8343, 42.5763, 10.3413)
Luminance0.4257 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEAB3C #3C5FCE
analogous
#CE623C #CEAB3C #A8CE3C
triadic
#CEAB3C #3CCEAB #AB3CCE
tetradic
#CEAB3C #3CCE62 #3C5FCE #CE3CA8
square
#CEAB3C #3CCE62 #3C5FCE #CE3CA8
split-complementary
#CEAB3C #3CA8CE #623CCE
monochromatic
#735E1D #A48629 #CEAB3C #DAC06D #E7D59E

Accessibility & contrast

On white

2.21
#CEAB3C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#CEAB3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEAB3C
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEAB3C#FFFFFF#000000##000000
##CEAB3C1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA92C
Deuteranopia (green-blind)
#C6B342
Tritanopia (blue-blind)
#DF9D94
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #ceab3c;
/* rgb */ color: rgb(206, 171, 60);
/* oklch */ color: oklch(75.3% 0.132 91.0);
Tailwind
colors: {
  custom: {
    50: '#e1c378',
    500: '#ceab3c',
    950: '#000000',
  },
}
SCSS
$custom: #ceab3c;
$custom-light: #e1c378;
$custom-dark: #000000;
JSON
{
  "hex": "#ceab3c",
  "rgb": {
    "r": 206,
    "g": 171,
    "b": 60
  },
  "hsl": {
    "h": 45.616,
    "s": 59.836,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75279,
    "c": 0.132,
    "h": 91
  },
  "luminance": 0.42574
}

Semantic roles & 50–950 ramp

primary
#CEAB3C
secondary
#93A2D3
accent
#6BE345
background
#FEFBF7
surface
#FDF7EE
border
#D5D0C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CEAB3C

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

Preview Lab → · Contrast checker → · Palette generator →

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