#C8B25A#C8B25A

#C8B25A is a light, moderate yellow. Relative luminance 0.449; OKLCH L 76.4% C 0.111 H 95.6°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#C8B25A
RGBrgb(200, 178, 90)
HSLhsl(48, 50%, 57%)
HSVhsv(48, 55%, 78%)
CMYKcmyk(0%, 11%, 55%, 21.6%)
CIE-LABlab(72.80, -3.17, 47.26)
CIE-LCHlch(72.80, 47.36, 93.84°)
OKLaboklab(76.45% -0.0108 0.1109)
OKLCHoklch(76.45% 0.111 95.6)
XYZxyz(41.5868, 44.8602, 16.1392)
Luminance0.4486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8B25A #5A70C8
analogous
#C87B5A #C8B25A #A7C85A
triadic
#C8B25A #5AC8B2 #B25AC8
tetradic
#C8B25A #5AC87B #5A70C8 #C85AA7
square
#C8B25A #5AC87B #5A70C8 #C85AA7
split-complementary
#C8B25A #5AA7C8 #7B5AC8
monochromatic
#7E6D2A #AC9539 #C8B25A #D7C788 #E7DDB6

Accessibility & contrast

On white

2.11
#C8B25A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.97
#C8B25A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8B25A
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8B25A#FFFFFF#000000##000000
##C8B25A1.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AF52
Deuteranopia (green-blind)
#C7B65E
Tritanopia (blue-blind)
#D6A79E
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c8b25a;
/* rgb */ color: rgb(200, 178, 90);
/* oklch */ color: oklch(76.4% 0.111 95.6);
Tailwind
colors: {
  custom: {
    50: '#dbc88b',
    500: '#c8b25a',
    950: '#000000',
  },
}
SCSS
$custom: #c8b25a;
$custom-light: #dbc88b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8b25a",
  "rgb": {
    "r": 200,
    "g": 178,
    "b": 90
  },
  "hsl": {
    "h": 48,
    "s": 50,
    "l": 56.863
  },
  "oklch": {
    "l": 0.76447,
    "c": 0.11145,
    "h": 95.6
  },
  "luminance": 0.44858
}

Semantic roles & 50–950 ramp

primary
#C8B25A
secondary
#A8B1D5
accent
#6ADA4E
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D

Preview Lab

Preview with #C8B25A

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

Preview Lab → · Contrast checker → · Palette generator →

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