#C8BA3E#C8BA3E

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

Color values

HEX#C8BA3E
RGBrgb(200, 186, 62)
HSLhsl(54, 56%, 51%)
HSVhsv(54, 69%, 78%)
CMYKcmyk(0%, 7%, 69%, 21.6%)
CIE-LABlab(74.66, -9.21, 61.65)
CIE-LCHlch(74.66, 62.33, 98.49°)
OKLaboklab(77.84% -0.0313 0.1377)
OKLCHoklch(77.84% 0.141 102.8)
XYZxyz(42.2496, 47.7467, 11.5471)
Luminance0.4774 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BA3E #3E4CC8
analogous
#C8753E #C8BA3E #91C83E
triadic
#C8BA3E #3EC8BA #BA3EC8
tetradic
#C8BA3E #3EC875 #3E4CC8 #C83E91
square
#C8BA3E #3EC875 #3E4CC8 #C83E91
split-complementary
#C8BA3E #3E91C8 #753EC8
monochromatic
#6D651F #9C912D #C8BA3E #D6CB6E #E3DC9D

Accessibility & contrast

On white

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

On black

10.55
#C8BA3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C8BA3E
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8BA3E#FFFFFF#000000##000000
##C8BA3E1.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8ba3e;
/* rgb */ color: rgb(200, 186, 62);
/* oklch */ color: oklch(77.8% 0.141 102.8);
Tailwind
colors: {
  custom: {
    50: '#dcce7b',
    500: '#c8ba3e',
    950: '#000000',
  },
}
SCSS
$custom: #c8ba3e;
$custom-light: #dcce7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ba3e",
  "rgb": {
    "r": 200,
    "g": 186,
    "b": 62
  },
  "hsl": {
    "h": 53.913,
    "s": 55.645,
    "l": 51.373
  },
  "oklch": {
    "l": 0.77844,
    "c": 0.14122,
    "h": 102.8
  },
  "luminance": 0.47745
}

Semantic roles & 50–950 ramp

primary
#C8BA3E
secondary
#9299CF
accent
#58DF49
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#15130A
muted
#84827C

Preview Lab

Preview with #C8BA3E

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

Preview Lab → · Contrast checker → · Palette generator →

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