#C8BF5F#C8BF5F

#C8BF5F is a light, moderate yellow. Relative luminance 0.504; OKLCH L 79.2% C 0.119 H 103.9°. Best body text is #000000 at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#C8BF5F
RGBrgb(200, 191, 95)
HSLhsl(55, 49%, 58%)
HSVhsv(55, 53%, 78%)
CMYKcmyk(0%, 4.5%, 52.5%, 21.6%)
CIE-LABlab(76.30, -9.52, 48.96)
CIE-LCHlch(76.30, 49.87, 101.01°)
OKLaboklab(79.24% -0.0285 0.1151)
OKLCHoklch(79.24% 0.119 103.9)
XYZxyz(44.5171, 50.3686, 18.2014)
Luminance0.5037 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BF5F #5F68C8
analogous
#C88A5F #C8BF5F #9CC85F
triadic
#C8BF5F #5FC8BF #BF5FC8
tetradic
#C8BF5F #5FC88A #5F68C8 #C85F9C
square
#C8BF5F #5FC88A #5F68C8 #C85F9C
split-complementary
#C8BF5F #5F9CC8 #8A5FC8
monochromatic
#80792C #AEA43C #C8BF5F #D8D18D #E7E3BA

Accessibility & contrast

On white

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

On black

11.07
#C8BF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BF5F
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BF5F#FFFFFF#000000##000000
##C8BF5F1.001.9011.0711.07
#FFFFFF1.901.0021.0021.00
#00000011.0721.001.001.00
##00000011.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB956
Deuteranopia (green-blind)
#D1BE64
Tritanopia (blue-blind)
#D5B4A9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c8bf5f;
/* rgb */ color: rgb(200, 191, 95);
/* oklch */ color: oklch(79.2% 0.119 103.9);
Tailwind
colors: {
  custom: {
    50: '#dbd28f',
    500: '#c8bf5f',
    950: '#000000',
  },
}
SCSS
$custom: #c8bf5f;
$custom-light: #dbd28f;
$custom-dark: #000000;
JSON
{
  "hex": "#c8bf5f",
  "rgb": {
    "r": 200,
    "g": 191,
    "b": 95
  },
  "hsl": {
    "h": 54.857,
    "s": 48.837,
    "l": 57.843
  },
  "oklch": {
    "l": 0.79235,
    "c": 0.1186,
    "h": 103.9
  },
  "luminance": 0.50367
}

Semantic roles & 50–950 ramp

primary
#C8BF5F
secondary
#434988
accent
#5BD84F
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #C8BF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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