#C5BA3F#C5BA3F

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

Color values

HEX#C5BA3F
RGBrgb(197, 186, 63)
HSLhsl(55, 54%, 51%)
HSVhsv(55, 68%, 77%)
CMYKcmyk(0%, 5.6%, 68%, 22.7%)
CIE-LABlab(74.41, -10.44, 60.92)
CIE-LCHlch(74.41, 61.81, 99.72°)
OKLaboklab(77.58% -0.0345 0.1364)
OKLCHoklch(77.58% 0.141 104.2)
XYZxyz(41.4837, 47.3486, 11.6557)
Luminance0.4735 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BA3F #3F4AC5
analogous
#C5773F #C5BA3F #8DC53F
triadic
#C5BA3F #3FC5BA #BA3FC5
tetradic
#C5BA3F #3FC577 #3F4AC5 #C53F8D
square
#C5BA3F #3FC577 #3F4AC5 #C53F8D
split-complementary
#C5BA3F #3F8DC5 #773FC5
monochromatic
#6A6420 #99902E #C5BA3F #D3CB6E #E1DC9D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5BA3F#FFFFFF#000000##000000
##C5BA3F1.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)
#CAB42D
Deuteranopia (green-blind)
#CEBA47
Tritanopia (blue-blind)
#D3AEA1
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c5ba3f;
/* rgb */ color: rgb(197, 186, 63);
/* oklch */ color: oklch(77.6% 0.141 104.2);
Tailwind
colors: {
  custom: {
    50: '#dace7b',
    500: '#c5ba3f',
    950: '#000000',
  },
}
SCSS
$custom: #c5ba3f;
$custom-light: #dace7b;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ba3f",
  "rgb": {
    "r": 197,
    "g": 186,
    "b": 63
  },
  "hsl": {
    "h": 55.075,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.77583,
    "c": 0.14073,
    "h": 104.2
  },
  "luminance": 0.47347
}

Semantic roles & 50–950 ramp

primary
#C5BA3F
secondary
#9297CE
accent
#57DD4B
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5BA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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