#C8B04F#C8B04F

#C8B04F is a light, moderate yellow. Relative luminance 0.439; OKLCH L 75.9% C 0.120 H 95.5°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#C8B04F
RGBrgb(200, 176, 79)
HSLhsl(48, 52%, 55%)
HSVhsv(48, 61%, 78%)
CMYKcmyk(0%, 12%, 60.5%, 21.6%)
CIE-LABlab(72.16, -2.95, 51.73)
CIE-LCHlch(72.16, 51.81, 93.27°)
OKLaboklab(75.9% -0.0115 0.1193)
OKLCHoklch(75.9% 0.12 95.5)
XYZxyz(40.7578, 43.8965, 13.7216)
Luminance0.4390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B04F #4F67C8
analogous
#C8734F #C8B04F #A4C84F
triadic
#C8B04F #4FC8B0 #B04FC8
tetradic
#C8B04F #4FC873 #4F67C8 #C84FA4
square
#C8B04F #4FC873 #4F67C8 #C84FA4
split-complementary
#C8B04F #4FA4C8 #734FC8
monochromatic
#776725 #A68F34 #C8B04F #D7C57E #E5DAAC

Accessibility & contrast

On white

2.15
#C8B04F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#C8B04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B04F
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B04F#FFFFFF#000000##000000
##C8B04F1.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AD45
Deuteranopia (green-blind)
#C7B453
Tritanopia (blue-blind)
#D7A49B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c8b04f;
/* rgb */ color: rgb(200, 176, 79);
/* oklch */ color: oklch(75.9% 0.120 95.5);
Tailwind
colors: {
  custom: {
    50: '#dcc784',
    500: '#c8b04f',
    950: '#000000',
  },
}
SCSS
$custom: #c8b04f;
$custom-light: #dcc784;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b04f",
  "rgb": {
    "r": 200,
    "g": 176,
    "b": 79
  },
  "hsl": {
    "h": 48.099,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.75903,
    "c": 0.11982,
    "h": 95.5
  },
  "luminance": 0.43895
}

Semantic roles & 50–950 ramp

primary
#C8B04F
secondary
#A0AAD3
accent
#69DC4C
background
#FDFCF8
surface
#FBF8EF
border
#D4D1CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8B04F

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

Preview Lab → · Contrast checker → · Palette generator →

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