#C8BF40#C8BF40

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

Color values

HEX#C8BF40
RGBrgb(200, 191, 64)
HSLhsl(56, 55%, 52%)
HSVhsv(56, 68%, 78%)
CMYKcmyk(0%, 4.5%, 68%, 21.6%)
CIE-LABlab(76.02, -11.66, 62.23)
CIE-LCHlch(76.02, 63.32, 100.61°)
OKLaboklab(78.92% -0.038 0.1393)
OKLCHoklch(78.92% 0.144 105.3)
XYZxyz(43.3773, 49.9127, 12.1987)
Luminance0.4991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BF40 #4049C8
analogous
#C87B40 #C8BF40 #8DC840
triadic
#C8BF40 #40C8BF #BF40C8
tetradic
#C8BF40 #40C87B #4049C8 #C8408D
square
#C8BF40 #40C87B #4049C8 #C8408D
split-complementary
#C8BF40 #408DC8 #7B40C8
monochromatic
#6E6920 #9D962D #C8BF40 #D6CF70 #E3DF9F

Accessibility & contrast

On white

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

On black

10.98
#C8BF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BF40
10.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BF40#FFFFFF#000000##000000
##C8BF401.001.9110.9810.98
#FFFFFF1.911.0021.0021.00
#00000010.9821.001.001.00
##00000010.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB82D
Deuteranopia (green-blind)
#D3BE48
Tritanopia (blue-blind)
#D7B2A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c8bf40;
/* rgb */ color: rgb(200, 191, 64);
/* oklch */ color: oklch(78.9% 0.144 105.3);
Tailwind
colors: {
  custom: {
    50: '#dcd27c',
    500: '#c8bf40',
    950: '#000000',
  },
}
SCSS
$custom: #c8bf40;
$custom-light: #dcd27c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8bf40",
  "rgb": {
    "r": 200,
    "g": 191,
    "b": 64
  },
  "hsl": {
    "h": 56.029,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.78923,
    "c": 0.14437,
    "h": 105.3
  },
  "luminance": 0.49911
}

Semantic roles & 50–950 ramp

primary
#C8BF40
secondary
#9498D0
accent
#53DF49
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C8BF40

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

Preview Lab → · Contrast checker → · Palette generator →

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