#C8BA3B#C8BA3B

#C8BA3B is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.8% C 0.143 H 102.9°. Best body text is #000000 at 10.54:1 contrast (WCAG AA passes).

Color values

HEX#C8BA3B
RGBrgb(200, 186, 59)
HSLhsl(54, 56%, 51%)
HSVhsv(54, 71%, 78%)
CMYKcmyk(0%, 7%, 70.5%, 21.6%)
CIE-LABlab(74.64, -9.36, 62.78)
CIE-LCHlch(74.64, 63.48, 98.48°)
OKLaboklab(77.82% -0.032 0.1396)
OKLCHoklch(77.82% 0.143 102.9)
XYZxyz(42.1696, 47.7147, 11.1254)
Luminance0.4771 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BA3B #3B49C8
analogous
#C8743B #C8BA3B #8FC83B
triadic
#C8BA3B #3BC8BA #BA3BC8
tetradic
#C8BA3B #3BC874 #3B49C8 #C83B8F
square
#C8BA3B #3BC874 #3B49C8 #C83B8F
split-complementary
#C8BA3B #3B8FC8 #743BC8
monochromatic
#6B631E #9A8F2B #C8BA3B #D5CB6B #E3DC9B

Accessibility & contrast

On white

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

On black

10.54
#C8BA3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BA3B
10.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BA3B#FFFFFF#000000##000000
##C8BA3B1.001.9910.5410.54
#FFFFFF1.991.0021.0021.00
#00000010.5421.001.001.00
##00000010.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8ba3b;
/* rgb */ color: rgb(200, 186, 59);
/* oklch */ color: oklch(77.8% 0.143 102.9);
Tailwind
colors: {
  custom: {
    50: '#dcce79',
    500: '#c8ba3b',
    950: '#000000',
  },
}
SCSS
$custom: #c8ba3b;
$custom-light: #dcce79;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ba3b",
  "rgb": {
    "r": 200,
    "g": 186,
    "b": 59
  },
  "hsl": {
    "h": 54.043,
    "s": 56.175,
    "l": 50.784
  },
  "oklch": {
    "l": 0.77822,
    "c": 0.14321,
    "h": 102.9
  },
  "luminance": 0.47713
}

Semantic roles & 50–950 ramp

primary
#C8BA3B
secondary
#9096CF
accent
#57DF48
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #C8BA3B

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

Preview Lab → · Contrast checker → · Palette generator →

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