#C8BA43#C8BA43

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

Color values

HEX#C8BA43
RGBrgb(200, 186, 67)
HSLhsl(54, 55%, 52%)
HSVhsv(54, 67%, 78%)
CMYKcmyk(0%, 7%, 66.5%, 21.6%)
CIE-LABlab(74.70, -8.93, 59.69)
CIE-LCHlch(74.70, 60.36, 98.51°)
OKLaboklab(77.89% -0.0299 0.1344)
OKLCHoklch(77.89% 0.138 102.6)
XYZxyz(42.3932, 47.8041, 12.3032)
Luminance0.4780 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BA43 #4351C8
analogous
#C87743 #C8BA43 #94C843
triadic
#C8BA43 #43C8BA #BA43C8
tetradic
#C8BA43 #43C877 #4351C8 #C84394
square
#C8BA43 #43C877 #4351C8 #C84394
split-complementary
#C8BA43 #4394C8 #7743C8
monochromatic
#706821 #9F932F #C8BA43 #D6CB72 #E4DDA2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8BA43#FFFFFF#000000##000000
##C8BA431.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)
#CAB433
Deuteranopia (green-blind)
#CFBB4A
Tritanopia (blue-blind)
#D7ADA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c8ba43;
/* rgb */ color: rgb(200, 186, 67);
/* oklch */ color: oklch(77.9% 0.138 102.6);
Tailwind
colors: {
  custom: {
    50: '#dcce7d',
    500: '#c8ba43',
    950: '#000000',
  },
}
SCSS
$custom: #c8ba43;
$custom-light: #dcce7d;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ba43",
  "rgb": {
    "r": 200,
    "g": 186,
    "b": 67
  },
  "hsl": {
    "h": 53.684,
    "s": 54.733,
    "l": 52.353
  },
  "oklch": {
    "l": 0.77885,
    "c": 0.13771,
    "h": 102.6
  },
  "luminance": 0.47802
}

Semantic roles & 50–950 ramp

primary
#C8BA43
secondary
#969DD0
accent
#59DE4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C8BA43

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

Preview Lab → · Contrast checker → · Palette generator →

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