#C8B84F#C8B84F

#C8B84F is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.6% C 0.126 H 100.7°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#C8B84F
RGBrgb(200, 184, 79)
HSLhsl(52, 52%, 55%)
HSVhsv(52, 61%, 78%)
CMYKcmyk(0%, 8%, 60.5%, 21.6%)
CIE-LABlab(74.27, -7.14, 54.07)
CIE-LCHlch(74.27, 54.54, 97.52°)
OKLaboklab(77.58% -0.0235 0.1243)
OKLCHoklch(77.58% 0.126 100.7)
XYZxyz(42.3728, 47.1266, 14.2600)
Luminance0.4713 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B84F #4F5FC8
analogous
#C87C4F #C8B84F #9CC84F
triadic
#C8B84F #4FC8B8 #B84FC8
tetradic
#C8B84F #4FC87C #4F5FC8 #C84F9C
square
#C8B84F #4FC87C #4F5FC8 #C84F9C
split-complementary
#C8B84F #4F9CC8 #7C4FC8
monochromatic
#776C25 #A69734 #C8B84F #D7CB7E #E5DEAC

Accessibility & contrast

On white

2.01
#C8B84F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.43
#C8B84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B84F
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B84F#FFFFFF#000000##000000
##C8B84F1.002.0110.4310.43
#FFFFFF2.011.0021.0021.00
#00000010.4321.001.001.00
##00000010.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B343
Deuteranopia (green-blind)
#CCB954
Tritanopia (blue-blind)
#D6ACA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c8b84f;
/* rgb */ color: rgb(200, 184, 79);
/* oklch */ color: oklch(77.6% 0.126 100.7);
Tailwind
colors: {
  custom: {
    50: '#dbcd84',
    500: '#c8b84f',
    950: '#000000',
  },
}
SCSS
$custom: #c8b84f;
$custom-light: #dbcd84;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b84f",
  "rgb": {
    "r": 200,
    "g": 184,
    "b": 79
  },
  "hsl": {
    "h": 52.066,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.77575,
    "c": 0.12647,
    "h": 100.7
  },
  "luminance": 0.47125
}

Semantic roles & 50–950 ramp

primary
#C8B84F
secondary
#A0A7D3
accent
#5FDC4C
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8B84F

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

Preview Lab → · Contrast checker → · Palette generator →

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