#C8B950#C8B950

#C8B950 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.8% C 0.127 H 101.2°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#C8B950
RGBrgb(200, 185, 80)
HSLhsl(53, 52%, 55%)
HSVhsv(53, 60%, 78%)
CMYKcmyk(0%, 7.5%, 60%, 21.6%)
CIE-LABlab(74.55, -7.59, 53.93)
CIE-LCHlch(74.55, 54.46, 98.01°)
OKLaboklab(77.8% -0.0246 0.1241)
OKLCHoklch(77.8% 0.127 101.2)
XYZxyz(42.6179, 47.5582, 14.5226)
Luminance0.4756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B950 #505FC8
analogous
#C87D50 #C8B950 #9BC850
triadic
#C8B950 #50C8B9 #B950C8
tetradic
#C8B950 #50C87D #505FC8 #C8509B
square
#C8B950 #50C87D #505FC8 #C8509B
split-complementary
#C8B950 #509BC8 #7D50C8
monochromatic
#786E26 #A69834 #C8B950 #D7CC7F #E5DEAD

Accessibility & contrast

On white

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

On black

10.51
#C8B950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B950
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B950#FFFFFF#000000##000000
##C8B9501.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B445
Deuteranopia (green-blind)
#CDBA55
Tritanopia (blue-blind)
#D6ADA2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c8b950;
/* rgb */ color: rgb(200, 185, 80);
/* oklch */ color: oklch(77.8% 0.127 101.2);
Tailwind
colors: {
  custom: {
    50: '#dbcd85',
    500: '#c8b950',
    950: '#000000',
  },
}
SCSS
$custom: #c8b950;
$custom-light: #dbcd85;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b950",
  "rgb": {
    "r": 200,
    "g": 185,
    "b": 80
  },
  "hsl": {
    "h": 52.5,
    "s": 52.174,
    "l": 54.902
  },
  "oklch": {
    "l": 0.77796,
    "c": 0.12652,
    "h": 101.2
  },
  "luminance": 0.47556
}

Semantic roles & 50–950 ramp

primary
#C8B950
secondary
#A1A7D3
accent
#5EDC4C
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C8B950

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

Preview Lab → · Contrast checker → · Palette generator →

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