#C8BF5A#C8BF5A

#C8BF5A is a light, vivid yellow. Relative luminance 0.503; OKLCH L 79.2% C 0.123 H 104.2°. Best body text is #000000 at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#C8BF5A
RGBrgb(200, 191, 90)
HSLhsl(55, 50%, 57%)
HSVhsv(55, 55%, 78%)
CMYKcmyk(0%, 4.5%, 55%, 21.6%)
CIE-LABlab(76.24, -9.93, 51.25)
CIE-LCHlch(76.24, 52.21, 100.97°)
OKLaboklab(79.18% -0.0302 0.1196)
OKLCHoklch(79.18% 0.123 104.2)
XYZxyz(44.2971, 50.2806, 17.0426)
Luminance0.5028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BF5A #5A63C8
analogous
#C8885A #C8BF5A #9AC85A
triadic
#C8BF5A #5AC8BF #BF5AC8
tetradic
#C8BF5A #5AC888 #5A63C8 #C85A9A
square
#C8BF5A #5AC888 #5A63C8 #C85A9A
split-complementary
#C8BF5A #5A9AC8 #885AC8
monochromatic
#7E772A #ACA239 #C8BF5A #D7D188 #E7E3B6

Accessibility & contrast

On white

1.90
#C8BF5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.06
#C8BF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BF5A
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BF5A#FFFFFF#000000##000000
##C8BF5A1.001.9011.0611.06
#FFFFFF1.901.0021.0021.00
#00000011.0621.001.001.00
##00000011.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB950
Deuteranopia (green-blind)
#D1BE5F
Tritanopia (blue-blind)
#D5B4A8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c8bf5a;
/* rgb */ color: rgb(200, 191, 90);
/* oklch */ color: oklch(79.2% 0.123 104.2);
Tailwind
colors: {
  custom: {
    50: '#dbd28c',
    500: '#c8bf5a',
    950: '#000000',
  },
}
SCSS
$custom: #c8bf5a;
$custom-light: #dbd28c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8bf5a",
  "rgb": {
    "r": 200,
    "g": 191,
    "b": 90
  },
  "hsl": {
    "h": 55.091,
    "s": 50,
    "l": 56.863
  },
  "oklch": {
    "l": 0.79175,
    "c": 0.12333,
    "h": 104.2
  },
  "luminance": 0.50279
}

Semantic roles & 50–950 ramp

primary
#C8BF5A
secondary
#404686
accent
#5ADA4E
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C8BF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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