#C8BF4F#C8BF4F

#C8BF4F is a light, vivid yellow. Relative luminance 0.501; OKLCH L 79.1% C 0.133 H 104.7°. Best body text is #000000 at 11.02:1 contrast (WCAG AA passes).

Color values

HEX#C8BF4F
RGBrgb(200, 191, 79)
HSLhsl(56, 52%, 55%)
HSVhsv(56, 61%, 78%)
CMYKcmyk(0%, 4.5%, 60.5%, 21.6%)
CIE-LABlab(76.13, -10.75, 56.12)
CIE-LCHlch(76.13, 57.14, 100.84°)
OKLaboklab(79.06% -0.0338 0.1286)
OKLCHoklch(79.06% 0.133 104.7)
XYZxyz(43.8630, 50.1070, 14.7567)
Luminance0.5010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BF4F #4F58C8
analogous
#C8824F #C8BF4F #95C84F
triadic
#C8BF4F #4FC8BF #BF4FC8
tetradic
#C8BF4F #4FC882 #4F58C8 #C84F95
square
#C8BF4F #4FC882 #4F58C8 #C84F95
split-complementary
#C8BF4F #4F95C8 #824FC8
monochromatic
#777125 #A69D34 #C8BF4F #D7D07E #E5E1AC

Accessibility & contrast

On white

1.91
#C8BF4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.02
#C8BF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BF4F
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BF4F#FFFFFF#000000##000000
##C8BF4F1.001.9111.0211.02
#FFFFFF1.911.0021.0021.00
#00000011.0221.001.001.00
##00000011.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB942
Deuteranopia (green-blind)
#D2BE55
Tritanopia (blue-blind)
#D6B3A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c8bf4f;
/* rgb */ color: rgb(200, 191, 79);
/* oklch */ color: oklch(79.1% 0.133 104.7);
Tailwind
colors: {
  custom: {
    50: '#dbd285',
    500: '#c8bf4f',
    950: '#000000',
  },
}
SCSS
$custom: #c8bf4f;
$custom-light: #dbd285;
$custom-dark: #000000;
JSON
{
  "hex": "#c8bf4f",
  "rgb": {
    "r": 200,
    "g": 191,
    "b": 79
  },
  "hsl": {
    "h": 55.537,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.79056,
    "c": 0.13299,
    "h": 104.7
  },
  "luminance": 0.50105
}

Semantic roles & 50–950 ramp

primary
#C8BF4F
secondary
#3B4080
accent
#57DC4C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C8BF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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