#C8BA3D#C8BA3D

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

Color values

HEX#C8BA3D
RGBrgb(200, 186, 61)
HSLhsl(54, 56%, 51%)
HSVhsv(54, 70%, 78%)
CMYKcmyk(0%, 7%, 69.5%, 21.6%)
CIE-LABlab(74.66, -9.26, 62.03)
CIE-LCHlch(74.66, 62.72, 98.49°)
OKLaboklab(77.84% -0.0315 0.1384)
OKLCHoklch(77.84% 0.142 102.8)
XYZxyz(42.2224, 47.7358, 11.4039)
Luminance0.4773 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8BA3D #3D4BC8
analogous
#C8743D #C8BA3D #90C83D
triadic
#C8BA3D #3DC8BA #BA3DC8
tetradic
#C8BA3D #3DC874 #3D4BC8 #C83D90
square
#C8BA3D #3DC874 #3D4BC8 #C83D90
split-complementary
#C8BA3D #3D90C8 #743DC8
monochromatic
#6C641F #9C902C #C8BA3D #D6CB6D #E3DC9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8BA3D#FFFFFF#000000##000000
##C8BA3D1.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)
#CBB42A
Deuteranopia (green-blind)
#CFBB45
Tritanopia (blue-blind)
#D7ADA1
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c8ba3d;
/* rgb */ color: rgb(200, 186, 61);
/* oklch */ color: oklch(77.8% 0.142 102.8);
Tailwind
colors: {
  custom: {
    50: '#dcce7a',
    500: '#c8ba3d',
    950: '#000000',
  },
}
SCSS
$custom: #c8ba3d;
$custom-light: #dcce7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c8ba3d",
  "rgb": {
    "r": 200,
    "g": 186,
    "b": 61
  },
  "hsl": {
    "h": 53.957,
    "s": 55.823,
    "l": 51.176
  },
  "oklch": {
    "l": 0.77837,
    "c": 0.1419,
    "h": 102.8
  },
  "luminance": 0.47734
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8BA3D

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

Preview Lab → · Contrast checker → · Palette generator →

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