#CEB74C#CEB74C

#CEB74C is a light, vivid yellow. Relative luminance 0.475; OKLCH L 77.9% C 0.128 H 97.1°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#CEB74C
RGBrgb(206, 183, 76)
HSLhsl(49, 57%, 55%)
HSVhsv(49, 63%, 81%)
CMYKcmyk(0%, 11.2%, 63.1%, 19.2%)
CIE-LABlab(74.52, -4.27, 55.83)
CIE-LCHlch(74.52, 55.99, 94.37°)
OKLaboklab(77.89% -0.016 0.1274)
OKLCHoklch(77.89% 0.128 97.1)
XYZxyz(43.6935, 47.5126, 13.7054)
Luminance0.4751 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CEB74C #4C63CE
analogous
#CE764C #CEB74C #A4CE4C
triadic
#CEB74C #4CCEB7 #B74CCE
tetradic
#CEB74C #4CCE76 #4C63CE #CE4CA4
square
#CEB74C #4CCE76 #4C63CE #CE4CA4
split-complementary
#CEB74C #4CA4CE #764CCE
monochromatic
#7D6D22 #AD972F #CEB74C #DBCA7C #E8DEAC

Accessibility & contrast

On white

2.00
#CEB74C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.50
#CEB74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CEB74C
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CEB74C#FFFFFF#000000##000000
##CEB74C1.002.0010.5010.50
#FFFFFF2.001.0021.0021.00
#00000010.5021.001.001.00
##00000010.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B340
Deuteranopia (green-blind)
#CEBB51
Tritanopia (blue-blind)
#DDAAA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #ceb74c;
/* rgb */ color: rgb(206, 183, 76);
/* oklch */ color: oklch(77.9% 0.128 97.1);
Tailwind
colors: {
  custom: {
    50: '#e0cc82',
    500: '#ceb74c',
    950: '#000000',
  },
}
SCSS
$custom: #ceb74c;
$custom-light: #e0cc82;
$custom-dark: #000000;
JSON
{
  "hex": "#ceb74c",
  "rgb": {
    "r": 206,
    "g": 183,
    "b": 76
  },
  "hsl": {
    "h": 49.385,
    "s": 57.018,
    "l": 55.294
  },
  "oklch": {
    "l": 0.77889,
    "c": 0.12844,
    "h": 97.1
  },
  "luminance": 0.47511
}

Semantic roles & 50–950 ramp

primary
#CEB74C
secondary
#A0A9D6
accent
#63E048
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CEB74C

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

Preview Lab → · Contrast checker → · Palette generator →

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