#C8B74D#C8B74D

#C8B74D is a light, vivid yellow. Relative luminance 0.467; OKLCH L 77.3% C 0.127 H 100.2°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#C8B74D
RGBrgb(200, 183, 77)
HSLhsl(52, 53%, 54%)
HSVhsv(52, 62%, 78%)
CMYKcmyk(0%, 8.5%, 61.5%, 21.6%)
CIE-LABlab(73.99, -6.75, 54.66)
CIE-LCHlch(73.99, 55.07, 97.04°)
OKLaboklab(77.35% -0.0226 0.1252)
OKLCHoklch(77.35% 0.127 100.2)
XYZxyz(42.0941, 46.6839, 13.8134)
Luminance0.4668 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B74D #4D5EC8
analogous
#C87A4D #C8B74D #9CC84D
triadic
#C8B74D #4DC8B7 #B74DC8
tetradic
#C8B74D #4DC87A #4D5EC8 #C84D9C
square
#C8B74D #4DC87A #4D5EC8 #C84D9C
split-complementary
#C8B74D #4D9CC8 #7A4DC8
monochromatic
#766B24 #A59533 #C8B74D #D6CA7C #E5DDAB

Accessibility & contrast

On white

2.03
#C8B74D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#C8B74D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B74D
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B74D#FFFFFF#000000##000000
##C8B74D1.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B241
Deuteranopia (green-blind)
#CCB952
Tritanopia (blue-blind)
#D6ABA0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c8b74d;
/* rgb */ color: rgb(200, 183, 77);
/* oklch */ color: oklch(77.3% 0.127 100.2);
Tailwind
colors: {
  custom: {
    50: '#dccc83',
    500: '#c8b74d',
    950: '#000000',
  },
}
SCSS
$custom: #c8b74d;
$custom-light: #dccc83;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b74d",
  "rgb": {
    "r": 200,
    "g": 183,
    "b": 77
  },
  "hsl": {
    "h": 51.707,
    "s": 52.79,
    "l": 54.314
  },
  "oklch": {
    "l": 0.77345,
    "c": 0.12726,
    "h": 100.2
  },
  "luminance": 0.46682
}

Semantic roles & 50–950 ramp

primary
#C8B74D
secondary
#9EA6D2
accent
#60DC4C
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8B74D

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

Preview Lab → · Contrast checker → · Palette generator →

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