#C8B85F#C8B85F

#C8B85F is a light, moderate yellow. Relative luminance 0.474; OKLCH L 77.8% C 0.112 H 99.3°. Best body text is #000000 at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#C8B85F
RGBrgb(200, 184, 95)
HSLhsl(51, 49%, 58%)
HSVhsv(51, 53%, 78%)
CMYKcmyk(0%, 8%, 52.5%, 21.6%)
CIE-LABlab(74.44, -5.90, 46.76)
CIE-LCHlch(74.44, 47.14, 97.19°)
OKLaboklab(77.76% -0.0181 0.1104)
OKLCHoklch(77.76% 0.112 99.3)
XYZxyz(43.0269, 47.3882, 17.7046)
Luminance0.4739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B85F #5F6FC8
analogous
#C8835F #C8B85F #A3C85F
triadic
#C8B85F #5FC8B8 #B85FC8
tetradic
#C8B85F #5FC883 #5F6FC8 #C85FA3
square
#C8B85F #5FC883 #5F6FC8 #C85FA3
split-complementary
#C8B85F #5FA3C8 #835FC8
monochromatic
#80742C #AE9D3C #C8B85F #D8CC8D #E7E0BA

Accessibility & contrast

On white

2.00
#C8B85F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.48
#C8B85F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B85F
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B85F#FFFFFF#000000##000000
##C8B85F1.002.0010.4810.48
#FFFFFF2.001.0021.0021.00
#00000010.4821.001.001.00
##00000010.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B457
Deuteranopia (green-blind)
#CBBA63
Tritanopia (blue-blind)
#D5ADA4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c8b85f;
/* rgb */ color: rgb(200, 184, 95);
/* oklch */ color: oklch(77.8% 0.112 99.3);
Tailwind
colors: {
  custom: {
    50: '#dbcd8f',
    500: '#c8b85f',
    950: '#000000',
  },
}
SCSS
$custom: #c8b85f;
$custom-light: #dbcd8f;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b85f",
  "rgb": {
    "r": 200,
    "g": 184,
    "b": 95
  },
  "hsl": {
    "h": 50.857,
    "s": 48.837,
    "l": 57.843
  },
  "oklch": {
    "l": 0.77761,
    "c": 0.11182,
    "h": 99.3
  },
  "luminance": 0.47387
}

Semantic roles & 50–950 ramp

primary
#C8B85F
secondary
#ACB3D6
accent
#64D84F
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C8B85F

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

Preview Lab → · Contrast checker → · Palette generator →

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