#C8B74C#C8B74C

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

Color values

HEX#C8B74C
RGBrgb(200, 183, 76)
HSLhsl(52, 53%, 54%)
HSVhsv(52, 62%, 78%)
CMYKcmyk(0%, 8.5%, 62%, 21.6%)
CIE-LABlab(73.98, -6.82, 55.09)
CIE-LCHlch(73.98, 55.51, 97.06°)
OKLaboklab(77.33% -0.0229 0.126)
OKLCHoklch(77.33% 0.128 100.3)
XYZxyz(42.0591, 46.6699, 13.6288)
Luminance0.4667 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B74C #4C5DC8
analogous
#C8794C #C8B74C #9BC84C
triadic
#C8B74C #4CC8B7 #B74CC8
tetradic
#C8B74C #4CC879 #4C5DC8 #C84C9B
square
#C8B74C #4CC879 #4C5DC8 #C84C9B
split-complementary
#C8B74C #4C9BC8 #794CC8
monochromatic
#756A24 #A49532 #C8B74C #D6CA7B #E5DDAA

Accessibility & contrast

On white

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

On black

10.33
#C8B74C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B74C
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B74C#FFFFFF#000000##000000
##C8B74C1.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8b74c;
/* rgb */ color: rgb(200, 183, 76);
/* oklch */ color: oklch(77.3% 0.128 100.3);
Tailwind
colors: {
  custom: {
    50: '#dccc82',
    500: '#c8b74c',
    950: '#000000',
  },
}
SCSS
$custom: #c8b74c;
$custom-light: #dccc82;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b74c",
  "rgb": {
    "r": 200,
    "g": 183,
    "b": 76
  },
  "hsl": {
    "h": 51.774,
    "s": 52.991,
    "l": 54.118
  },
  "oklch": {
    "l": 0.77335,
    "c": 0.1281,
    "h": 100.3
  },
  "luminance": 0.46668
}

Semantic roles & 50–950 ramp

primary
#C8B74C
secondary
#9EA5D2
accent
#5FDC4B
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8B74C

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

Preview Lab → · Contrast checker → · Palette generator →

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