#C8B74E#C8B74E

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

Color values

HEX#C8B74E
RGBrgb(200, 183, 78)
HSLhsl(52, 53%, 55%)
HSVhsv(52, 61%, 78%)
CMYKcmyk(0%, 8.5%, 61%, 21.6%)
CIE-LABlab(74.00, -6.69, 54.22)
CIE-LCHlch(74.00, 54.63, 97.03°)
OKLaboklab(77.35% -0.0223 0.1245)
OKLCHoklch(77.35% 0.126 100.2)
XYZxyz(42.1297, 46.6981, 14.0007)
Luminance0.4670 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B74E #4E5FC8
analogous
#C87A4E #C8B74E #9CC84E
triadic
#C8B74E #4EC8B7 #B74EC8
tetradic
#C8B74E #4EC87A #4E5FC8 #C84E9C
square
#C8B74E #4EC87A #4E5FC8 #C84E9C
split-complementary
#C8B74E #4E9CC8 #7A4EC8
monochromatic
#776B25 #A59633 #C8B74E #D7CA7D #E5DDAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8B74E#FFFFFF#000000##000000
##C8B74E1.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)
#C7B242
Deuteranopia (green-blind)
#CCB953
Tritanopia (blue-blind)
#D6ABA0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c8b74e;
/* rgb */ color: rgb(200, 183, 78);
/* oklch */ color: oklch(77.4% 0.126 100.2);
Tailwind
colors: {
  custom: {
    50: '#dccc84',
    500: '#c8b74e',
    950: '#000000',
  },
}
SCSS
$custom: #c8b74e;
$custom-light: #dccc84;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b74e",
  "rgb": {
    "r": 200,
    "g": 183,
    "b": 78
  },
  "hsl": {
    "h": 51.639,
    "s": 52.586,
    "l": 54.51
  },
  "oklch": {
    "l": 0.77355,
    "c": 0.12643,
    "h": 100.2
  },
  "luminance": 0.46696
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8B74E

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

Preview Lab → · Contrast checker → · Palette generator →

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