#C8B74F#C8B74F

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

Color values

HEX#C8B74F
RGBrgb(200, 183, 79)
HSLhsl(52, 52%, 55%)
HSVhsv(52, 61%, 78%)
CMYKcmyk(0%, 8.5%, 60.5%, 21.6%)
CIE-LABlab(74.01, -6.62, 53.78)
CIE-LCHlch(74.01, 54.19, 97.01°)
OKLaboklab(77.36% -0.022 0.1237)
OKLCHoklch(77.36% 0.126 100.1)
XYZxyz(42.1658, 46.7126, 14.1910)
Luminance0.4671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B74F #4F60C8
analogous
#C87A4F #C8B74F #9DC84F
triadic
#C8B74F #4FC8B7 #B74FC8
tetradic
#C8B74F #4FC87A #4F60C8 #C84F9D
square
#C8B74F #4FC87A #4F60C8 #C84F9D
split-complementary
#C8B74F #4F9DC8 #7A4FC8
monochromatic
#776C25 #A69634 #C8B74F #D7CA7E #E5DDAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8B74F#FFFFFF#000000##000000
##C8B74F1.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)
#C7B244
Deuteranopia (green-blind)
#CCB954
Tritanopia (blue-blind)
#D6ABA0
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #c8b74f;
/* rgb */ color: rgb(200, 183, 79);
/* oklch */ color: oklch(77.4% 0.126 100.1);
Tailwind
colors: {
  custom: {
    50: '#dccc84',
    500: '#c8b74f',
    950: '#000000',
  },
}
SCSS
$custom: #c8b74f;
$custom-light: #dccc84;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b74f",
  "rgb": {
    "r": 200,
    "g": 183,
    "b": 79
  },
  "hsl": {
    "h": 51.57,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77365,
    "c": 0.12559,
    "h": 100.1
  },
  "luminance": 0.46711
}

Semantic roles & 50–950 ramp

primary
#C8B74F
secondary
#A0A7D3
accent
#60DC4C
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8B74F

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

Preview Lab → · Contrast checker → · Palette generator →

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