#C8BA47#C8BA47

#C8BA47 is a light, vivid yellow. Relative luminance 0.479; OKLCH L 77.9% C 0.135 H 102.4°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#C8BA47
RGBrgb(200, 186, 71)
HSLhsl(53, 54%, 53%)
HSVhsv(53, 65%, 78%)
CMYKcmyk(0%, 7%, 64.5%, 21.6%)
CIE-LABlab(74.73, -8.69, 58.06)
CIE-LCHlch(74.73, 58.71, 98.52°)
OKLaboklab(77.92% -0.0288 0.1316)
OKLCHoklch(77.92% 0.135 102.4)
XYZxyz(42.5173, 47.8538, 12.9571)
Luminance0.4785 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BA47 #4755C8
analogous
#C87947 #C8BA47 #96C847
triadic
#C8BA47 #47C8BA #BA47C8
tetradic
#C8BA47 #47C879 #4755C8 #C84796
square
#C8BA47 #47C879 #4755C8 #C84796
split-complementary
#C8BA47 #4796C8 #7947C8
monochromatic
#726A22 #A29530 #C8BA47 #D6CC76 #E4DDA5

Accessibility & contrast

On white

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

On black

10.57
#C8BA47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BA47
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BA47#FFFFFF#000000##000000
##C8BA471.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB439
Deuteranopia (green-blind)
#CEBB4E
Tritanopia (blue-blind)
#D7AEA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c8ba47;
/* rgb */ color: rgb(200, 186, 71);
/* oklch */ color: oklch(77.9% 0.135 102.4);
Tailwind
colors: {
  custom: {
    50: '#dcce80',
    500: '#c8ba47',
    950: '#000000',
  },
}
SCSS
$custom: #c8ba47;
$custom-light: #dcce80;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ba47",
  "rgb": {
    "r": 200,
    "g": 186,
    "b": 71
  },
  "hsl": {
    "h": 53.488,
    "s": 53.975,
    "l": 53.137
  },
  "oklch": {
    "l": 0.7792,
    "c": 0.13471,
    "h": 102.4
  },
  "luminance": 0.47852
}

Semantic roles & 50–950 ramp

primary
#C8BA47
secondary
#9AA0D1
accent
#5ADD4A
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C8BA47

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

Preview Lab → · Contrast checker → · Palette generator →

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