#C8BF5B#C8BF5B

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

Color values

HEX#C8BF5B
RGBrgb(200, 191, 91)
HSLhsl(55, 50%, 57%)
HSVhsv(55, 55%, 78%)
CMYKcmyk(0%, 4.5%, 54.5%, 21.6%)
CIE-LABlab(76.25, -9.85, 50.80)
CIE-LCHlch(76.25, 51.74, 100.98°)
OKLaboklab(79.19% -0.0299 0.1187)
OKLCHoklch(79.19% 0.122 104.1)
XYZxyz(44.3399, 50.2978, 17.2683)
Luminance0.5030 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BF5B #5B64C8
analogous
#C8895B #C8BF5B #9BC85B
triadic
#C8BF5B #5BC8BF #BF5BC8
tetradic
#C8BF5B #5BC889 #5B64C8 #C85B9B
square
#C8BF5B #5BC889 #5B64C8 #C85B9B
split-complementary
#C8BF5B #5B9BC8 #895BC8
monochromatic
#7E772A #ACA33A #C8BF5B #D7D189 #E7E3B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8BF5B#FFFFFF#000000##000000
##C8BF5B1.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)
#CEB951
Deuteranopia (green-blind)
#D1BE60
Tritanopia (blue-blind)
#D5B4A9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c8bf5b;
/* rgb */ color: rgb(200, 191, 91);
/* oklch */ color: oklch(79.2% 0.122 104.1);
Tailwind
colors: {
  custom: {
    50: '#dbd28c',
    500: '#c8bf5b',
    950: '#000000',
  },
}
SCSS
$custom: #c8bf5b;
$custom-light: #dbd28c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8bf5b",
  "rgb": {
    "r": 200,
    "g": 191,
    "b": 91
  },
  "hsl": {
    "h": 55.046,
    "s": 49.772,
    "l": 57.059
  },
  "oklch": {
    "l": 0.79187,
    "c": 0.12241,
    "h": 104.1
  },
  "luminance": 0.50296
}

Semantic roles & 50–950 ramp

primary
#C8BF5B
secondary
#414786
accent
#5AD94F
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C8BF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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