#C8BA45#C8BA45

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

Color values

HEX#C8BA45
RGBrgb(200, 186, 69)
HSLhsl(54, 54%, 53%)
HSVhsv(54, 66%, 78%)
CMYKcmyk(0%, 7%, 65.5%, 21.6%)
CIE-LABlab(74.72, -8.81, 58.88)
CIE-LCHlch(74.72, 59.54, 98.51°)
OKLaboklab(77.9% -0.0294 0.133)
OKLCHoklch(77.9% 0.136 102.5)
XYZxyz(42.4542, 47.8286, 12.6246)
Luminance0.4783 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BA45 #4553C8
analogous
#C87945 #C8BA45 #94C845
triadic
#C8BA45 #45C8BA #BA45C8
tetradic
#C8BA45 #45C879 #4553C8 #C84594
square
#C8BA45 #45C879 #4553C8 #C84594
split-complementary
#C8BA45 #4594C8 #7945C8
monochromatic
#716921 #A0942F #C8BA45 #D6CC74 #E4DDA3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8BA45#FFFFFF#000000##000000
##C8BA451.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)
#CAB436
Deuteranopia (green-blind)
#CFBB4C
Tritanopia (blue-blind)
#D7ADA2
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c8ba45;
/* rgb */ color: rgb(200, 186, 69);
/* oklch */ color: oklch(77.9% 0.136 102.5);
Tailwind
colors: {
  custom: {
    50: '#dcce7e',
    500: '#c8ba45',
    950: '#000000',
  },
}
SCSS
$custom: #c8ba45;
$custom-light: #dcce7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ba45",
  "rgb": {
    "r": 200,
    "g": 186,
    "b": 69
  },
  "hsl": {
    "h": 53.588,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.77902,
    "c": 0.13623,
    "h": 102.5
  },
  "luminance": 0.47827
}

Semantic roles & 50–950 ramp

primary
#C8BA45
secondary
#989ED1
accent
#5ADE4A
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C8BA45

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

Preview Lab → · Contrast checker → · Palette generator →

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