#C8BA41#C8BA41

#C8BA41 is a light, vivid yellow. Relative luminance 0.478; OKLCH L 77.9% C 0.139 H 102.7°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#C8BA41
RGBrgb(200, 186, 65)
HSLhsl(54, 55%, 52%)
HSVhsv(54, 68%, 78%)
CMYKcmyk(0%, 7%, 67.5%, 21.6%)
CIE-LABlab(74.69, -9.04, 60.49)
CIE-LCHlch(74.69, 61.16, 98.50°)
OKLaboklab(77.87% -0.0305 0.1358)
OKLCHoklch(77.87% 0.139 102.7)
XYZxyz(42.3342, 47.7806, 11.9926)
Luminance0.4778 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BA41 #414FC8
analogous
#C87741 #C8BA41 #92C841
triadic
#C8BA41 #41C8BA #BA41C8
tetradic
#C8BA41 #41C877 #414FC8 #C84192
square
#C8BA41 #41C877 #414FC8 #C84192
split-complementary
#C8BA41 #4192C8 #7741C8
monochromatic
#6F6620 #9E922E #C8BA41 #D6CB70 #E3DCA0

Accessibility & contrast

On white

1.99
#C8BA41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#C8BA41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BA41
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BA41#FFFFFF#000000##000000
##C8BA411.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB430
Deuteranopia (green-blind)
#CFBB48
Tritanopia (blue-blind)
#D7ADA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c8ba41;
/* rgb */ color: rgb(200, 186, 65);
/* oklch */ color: oklch(77.9% 0.139 102.7);
Tailwind
colors: {
  custom: {
    50: '#dcce7c',
    500: '#c8ba41',
    950: '#000000',
  },
}
SCSS
$custom: #c8ba41;
$custom-light: #dcce7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ba41",
  "rgb": {
    "r": 200,
    "g": 186,
    "b": 65
  },
  "hsl": {
    "h": 53.778,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.77868,
    "c": 0.13914,
    "h": 102.7
  },
  "luminance": 0.47779
}

Semantic roles & 50–950 ramp

primary
#C8BA41
secondary
#959BD0
accent
#59DE49
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C8BA41

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

Preview Lab → · Contrast checker → · Palette generator →

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