#C8B64F#C8B64F

#C8B64F is a light, vivid yellow. Relative luminance 0.463; OKLCH L 77.2% C 0.125 H 99.5°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#C8B64F
RGBrgb(200, 182, 79)
HSLhsl(51, 52%, 55%)
HSVhsv(51, 61%, 78%)
CMYKcmyk(0%, 9%, 60.5%, 21.6%)
CIE-LABlab(73.74, -6.10, 53.49)
CIE-LCHlch(73.74, 53.83, 96.50°)
OKLaboklab(77.16% -0.0205 0.123)
OKLCHoklch(77.16% 0.125 99.5)
XYZxyz(41.9603, 46.3015, 14.1225)
Luminance0.4630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B64F #4F61C8
analogous
#C8794F #C8B64F #9EC84F
triadic
#C8B64F #4FC8B6 #B64FC8
tetradic
#C8B64F #4FC879 #4F61C8 #C84F9E
square
#C8B64F #4FC879 #4F61C8 #C84F9E
split-complementary
#C8B64F #4F9EC8 #794FC8
monochromatic
#776B25 #A69534 #C8B64F #D7C97E #E5DDAC

Accessibility & contrast

On white

2.05
#C8B64F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#C8B64F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B64F
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B64F#FFFFFF#000000##000000
##C8B64F1.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B144
Deuteranopia (green-blind)
#CBB854
Tritanopia (blue-blind)
#D6AAA0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c8b64f;
/* rgb */ color: rgb(200, 182, 79);
/* oklch */ color: oklch(77.2% 0.125 99.5);
Tailwind
colors: {
  custom: {
    50: '#dccb84',
    500: '#c8b64f',
    950: '#000000',
  },
}
SCSS
$custom: #c8b64f;
$custom-light: #dccb84;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b64f",
  "rgb": {
    "r": 200,
    "g": 182,
    "b": 79
  },
  "hsl": {
    "h": 51.074,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77155,
    "c": 0.12472,
    "h": 99.5
  },
  "luminance": 0.463
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8B64F

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

Preview Lab → · Contrast checker → · Palette generator →

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