#C8BF42#C8BF42

#C8BF42 is a light, vivid yellow. Relative luminance 0.499; OKLCH L 78.9% C 0.143 H 105.2°. Best body text is #000000 at 10.99:1 contrast (WCAG AA passes).

Color values

HEX#C8BF42
RGBrgb(200, 191, 66)
HSLhsl(56, 55%, 52%)
HSVhsv(56, 67%, 78%)
CMYKcmyk(0%, 4.5%, 67%, 21.6%)
CIE-LABlab(76.03, -11.55, 61.46)
CIE-LCHlch(76.03, 62.54, 100.65°)
OKLaboklab(78.94% -0.0375 0.138)
OKLCHoklch(78.94% 0.143 105.2)
XYZxyz(43.4353, 49.9359, 12.5038)
Luminance0.4993 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BF42 #424BC8
analogous
#C87C42 #C8BF42 #8EC842
triadic
#C8BF42 #42C8BF #BF42C8
tetradic
#C8BF42 #42C87C #424BC8 #C8428E
square
#C8BF42 #42C87C #424BC8 #C8428E
split-complementary
#C8BF42 #428EC8 #7C42C8
monochromatic
#6F6A20 #9F972E #C8BF42 #D6CF71 #E4DFA1

Accessibility & contrast

On white

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

On black

10.99
#C8BF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BF42
10.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BF42#FFFFFF#000000##000000
##C8BF421.001.9110.9910.99
#FFFFFF1.911.0021.0021.00
#00000010.9921.001.001.00
##00000010.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB830
Deuteranopia (green-blind)
#D3BE4A
Tritanopia (blue-blind)
#D6B2A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c8bf42;
/* rgb */ color: rgb(200, 191, 66);
/* oklch */ color: oklch(78.9% 0.143 105.2);
Tailwind
colors: {
  custom: {
    50: '#dcd27d',
    500: '#c8bf42',
    950: '#000000',
  },
}
SCSS
$custom: #c8bf42;
$custom-light: #dcd27d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8bf42",
  "rgb": {
    "r": 200,
    "g": 191,
    "b": 66
  },
  "hsl": {
    "h": 55.97,
    "s": 54.918,
    "l": 52.157
  },
  "oklch": {
    "l": 0.78939,
    "c": 0.14298,
    "h": 105.2
  },
  "luminance": 0.49934
}

Semantic roles & 50–950 ramp

primary
#C8BF42
secondary
#969AD0
accent
#54DE4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C8BF42

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

Preview Lab → · Contrast checker → · Palette generator →

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