#C8B74B#C8B74B

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

Color values

HEX#C8B74B
RGBrgb(200, 183, 75)
HSLhsl(52, 53%, 54%)
HSVhsv(52, 63%, 78%)
CMYKcmyk(0%, 8.5%, 62.5%, 21.6%)
CIE-LABlab(73.97, -6.89, 55.52)
CIE-LCHlch(73.97, 55.95, 97.07°)
OKLaboklab(77.33% -0.0232 0.1268)
OKLCHoklch(77.33% 0.129 100.4)
XYZxyz(42.0246, 46.6561, 13.4472)
Luminance0.4665 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B74B #4B5CC8
analogous
#C8794B #C8B74B #9BC84B
triadic
#C8B74B #4BC8B7 #B74BC8
tetradic
#C8B74B #4BC879 #4B5CC8 #C84B9B
square
#C8B74B #4BC879 #4B5CC8 #C84B9B
split-complementary
#C8B74B #4B9BC8 #794BC8
monochromatic
#756A24 #A49432 #C8B74B #D6CA7A #E5DDA9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8B74B#FFFFFF#000000##000000
##C8B74B1.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)
#C7B23F
Deuteranopia (green-blind)
#CCB951
Tritanopia (blue-blind)
#D7ABA0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c8b74b;
/* rgb */ color: rgb(200, 183, 75);
/* oklch */ color: oklch(77.3% 0.129 100.4);
Tailwind
colors: {
  custom: {
    50: '#dccc82',
    500: '#c8b74b',
    950: '#000000',
  },
}
SCSS
$custom: #c8b74b;
$custom-light: #dccc82;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b74b",
  "rgb": {
    "r": 200,
    "g": 183,
    "b": 75
  },
  "hsl": {
    "h": 51.84,
    "s": 53.191,
    "l": 53.922
  },
  "oklch": {
    "l": 0.77325,
    "c": 0.12891,
    "h": 100.4
  },
  "luminance": 0.46654
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8B74B

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

Preview Lab → · Contrast checker → · Palette generator →

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