#C8BF5C#C8BF5C

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

Color values

HEX#C8BF5C
RGBrgb(200, 191, 92)
HSLhsl(55, 50%, 57%)
HSVhsv(55, 54%, 78%)
CMYKcmyk(0%, 4.5%, 54%, 21.6%)
CIE-LABlab(76.26, -9.77, 50.34)
CIE-LCHlch(76.26, 51.28, 100.99°)
OKLaboklab(79.2% -0.0295 0.1178)
OKLCHoklch(79.2% 0.121 104.1)
XYZxyz(44.3833, 50.3151, 17.4970)
Luminance0.5031 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BF5C #5C65C8
analogous
#C8895C #C8BF5C #9BC85C
triadic
#C8BF5C #5CC8BF #BF5CC8
tetradic
#C8BF5C #5CC889 #5C65C8 #C85C9B
square
#C8BF5C #5CC889 #5C65C8 #C85C9B
split-complementary
#C8BF5C #5C9BC8 #895CC8
monochromatic
#7F782B #ADA33A #C8BF5C #D7D18A #E7E3B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8BF5C#FFFFFF#000000##000000
##C8BF5C1.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)
#CEB952
Deuteranopia (green-blind)
#D1BE61
Tritanopia (blue-blind)
#D5B4A9
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c8bf5c;
/* rgb */ color: rgb(200, 191, 92);
/* oklch */ color: oklch(79.2% 0.121 104.1);
Tailwind
colors: {
  custom: {
    50: '#dbd28d',
    500: '#c8bf5c',
    950: '#000000',
  },
}
SCSS
$custom: #c8bf5c;
$custom-light: #dbd28d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8bf5c",
  "rgb": {
    "r": 200,
    "g": 191,
    "b": 92
  },
  "hsl": {
    "h": 55,
    "s": 49.541,
    "l": 57.255
  },
  "oklch": {
    "l": 0.79199,
    "c": 0.12146,
    "h": 104.1
  },
  "luminance": 0.50314
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8BF5C

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

Preview Lab → · Contrast checker → · Palette generator →

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