#C8B74A#C8B74A

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

Color values

HEX#C8B74A
RGBrgb(200, 183, 74)
HSLhsl(52, 53%, 54%)
HSVhsv(52, 63%, 78%)
CMYKcmyk(0%, 8.5%, 63%, 21.6%)
CIE-LABlab(73.96, -6.95, 55.95)
CIE-LCHlch(73.96, 56.38, 97.08°)
OKLaboklab(77.32% -0.0235 0.1276)
OKLCHoklch(77.32% 0.13 100.4)
XYZxyz(41.9906, 46.6425, 13.2683)
Luminance0.4664 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B74A #4A5BC8
analogous
#C8784A #C8B74A #9AC84A
triadic
#C8B74A #4AC8B7 #B74AC8
tetradic
#C8B74A #4AC878 #4A5BC8 #C84A9A
square
#C8B74A #4AC878 #4A5BC8 #C84A9A
split-complementary
#C8B74A #4A9AC8 #784AC8
monochromatic
#746923 #A39432 #C8B74A #D6CA79 #E5DCA8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8B74A#FFFFFF#000000##000000
##C8B74A1.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)
#C7B23D
Deuteranopia (green-blind)
#CCB950
Tritanopia (blue-blind)
#D7ABA0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c8b74a;
/* rgb */ color: rgb(200, 183, 74);
/* oklch */ color: oklch(77.3% 0.130 100.4);
Tailwind
colors: {
  custom: {
    50: '#dccc81',
    500: '#c8b74a',
    950: '#000000',
  },
}
SCSS
$custom: #c8b74a;
$custom-light: #dccc81;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b74a",
  "rgb": {
    "r": 200,
    "g": 183,
    "b": 74
  },
  "hsl": {
    "h": 51.905,
    "s": 53.39,
    "l": 53.725
  },
  "oklch": {
    "l": 0.77315,
    "c": 0.12972,
    "h": 100.4
  },
  "luminance": 0.46641
}

Semantic roles & 50–950 ramp

primary
#C8B74A
secondary
#9CA3D2
accent
#5FDD4B
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8B74A

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

Preview Lab → · Contrast checker → · Palette generator →

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