#C5BA3D#C5BA3D

#C5BA3D is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.6% C 0.142 H 104.3°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#C5BA3D
RGBrgb(197, 186, 61)
HSLhsl(55, 54%, 51%)
HSVhsv(55, 69%, 77%)
CMYKcmyk(0%, 5.6%, 69%, 22.7%)
CIE-LABlab(74.40, -10.54, 61.69)
CIE-LCHlch(74.40, 62.58, 99.70°)
OKLaboklab(77.57% -0.035 0.1377)
OKLCHoklch(77.57% 0.142 104.3)
XYZxyz(41.4289, 47.3267, 11.3667)
Luminance0.4733 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BA3D #3D48C5
analogous
#C5763D #C5BA3D #8CC53D
triadic
#C5BA3D #3DC5BA #BA3DC5
tetradic
#C5BA3D #3DC576 #3D48C5 #C53D8C
square
#C5BA3D #3DC576 #3D48C5 #C53D8C
split-complementary
#C5BA3D #3D8CC5 #763DC5
monochromatic
#68621F #988F2D #C5BA3D #D3CB6C #E1DC9B

Accessibility & contrast

On white

2.01
#C5BA3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.47
#C5BA3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BA3D
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BA3D#FFFFFF#000000##000000
##C5BA3D1.002.0110.4710.47
#FFFFFF2.011.0021.0021.00
#00000010.4721.001.001.00
##00000010.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB42A
Deuteranopia (green-blind)
#CEBA45
Tritanopia (blue-blind)
#D4ADA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c5ba3d;
/* rgb */ color: rgb(197, 186, 61);
/* oklch */ color: oklch(77.6% 0.142 104.3);
Tailwind
colors: {
  custom: {
    50: '#dace7a',
    500: '#c5ba3d',
    950: '#000000',
  },
}
SCSS
$custom: #c5ba3d;
$custom-light: #dace7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ba3d",
  "rgb": {
    "r": 197,
    "g": 186,
    "b": 61
  },
  "hsl": {
    "h": 55.147,
    "s": 53.968,
    "l": 50.588
  },
  "oklch": {
    "l": 0.77568,
    "c": 0.1421,
    "h": 104.3
  },
  "luminance": 0.47325
}

Semantic roles & 50–950 ramp

primary
#C5BA3D
secondary
#9196CD
accent
#56DD4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5BA3D

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

Preview Lab → · Contrast checker → · Palette generator →

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