#C8BD5A#C8BD5A

#C8BD5A is a light, vivid yellow. Relative luminance 0.494; OKLCH L 78.8% C 0.121 H 103.0°. Best body text is #000000 at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#C8BD5A
RGBrgb(200, 189, 90)
HSLhsl(54, 50%, 57%)
HSVhsv(54, 55%, 78%)
CMYKcmyk(0%, 5.5%, 55%, 21.6%)
CIE-LABlab(75.71, -8.90, 50.64)
CIE-LCHlch(75.71, 51.42, 99.97°)
OKLaboklab(78.75% -0.0273 0.1183)
OKLCHoklch(78.75% 0.121 103)
XYZxyz(43.8639, 49.4143, 16.8982)
Luminance0.4941 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BD5A #5A65C8
analogous
#C8865A #C8BD5A #9CC85A
triadic
#C8BD5A #5AC8BD #BD5AC8
tetradic
#C8BD5A #5AC886 #5A65C8 #C85A9C
square
#C8BD5A #5AC886 #5A65C8 #C85A9C
split-complementary
#C8BD5A #5A9CC8 #865AC8
monochromatic
#7E752A #ACA039 #C8BD5A #D7CF88 #E7E2B6

Accessibility & contrast

On white

1.93
#C8BD5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.88
#C8BD5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BD5A
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BD5A#FFFFFF#000000##000000
##C8BD5A1.001.9310.8810.88
#FFFFFF1.931.0021.0021.00
#00000010.8821.001.001.00
##00000010.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB750
Deuteranopia (green-blind)
#CFBD5F
Tritanopia (blue-blind)
#D5B2A7
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c8bd5a;
/* rgb */ color: rgb(200, 189, 90);
/* oklch */ color: oklch(78.8% 0.121 103.0);
Tailwind
colors: {
  custom: {
    50: '#dbd08c',
    500: '#c8bd5a',
    950: '#000000',
  },
}
SCSS
$custom: #c8bd5a;
$custom-light: #dbd08c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8bd5a",
  "rgb": {
    "r": 200,
    "g": 189,
    "b": 90
  },
  "hsl": {
    "h": 54,
    "s": 50,
    "l": 56.863
  },
  "oklch": {
    "l": 0.78752,
    "c": 0.12136,
    "h": 103
  },
  "luminance": 0.49413
}

Semantic roles & 50–950 ramp

primary
#C8BD5A
secondary
#A8ADD5
accent
#5CDA4E
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15140C
muted
#83827D

Preview Lab

Preview with #C8BD5A

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

Preview Lab → · Contrast checker → · Palette generator →

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