#C5BA33#C5BA33

#C5BA33 is a light, vivid yellow. Relative luminance 0.472; OKLCH L 77.5% C 0.148 H 104.6°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#C5BA33
RGBrgb(197, 186, 51)
HSLhsl(55, 59%, 49%)
HSVhsv(55, 74%, 77%)
CMYKcmyk(0%, 5.6%, 74.1%, 22.7%)
CIE-LABlab(74.34, -11.02, 65.28)
CIE-LCHlch(74.34, 66.21, 99.58°)
OKLaboklab(77.5% -0.0373 0.1435)
OKLCHoklch(77.5% 0.148 104.6)
XYZxyz(41.1842, 47.2288, 10.0780)
Luminance0.4723 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BA33 #333EC5
analogous
#C57133 #C5BA33 #87C533
triadic
#C5BA33 #33C5BA #BA33C5
tetradic
#C5BA33 #33C571 #333EC5 #C53387
square
#C5BA33 #33C571 #333EC5 #C53387
split-complementary
#C5BA33 #3387C5 #7133C5
monochromatic
#645E1A #948C26 #C5BA33 #D6CD5F #E2DC90

Accessibility & contrast

On white

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

On black

10.45
#C5BA33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BA33
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BA33#FFFFFF#000000##000000
##C5BA331.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB318
Deuteranopia (green-blind)
#CEBA3D
Tritanopia (blue-blind)
#D4ADA0
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c5ba33;
/* rgb */ color: rgb(197, 186, 51);
/* oklch */ color: oklch(77.5% 0.148 104.6);
Tailwind
colors: {
  custom: {
    50: '#dace75',
    500: '#c5ba33',
    950: '#000000',
  },
}
SCSS
$custom: #c5ba33;
$custom-light: #dace75;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ba33",
  "rgb": {
    "r": 197,
    "g": 186,
    "b": 51
  },
  "hsl": {
    "h": 55.479,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.77498,
    "c": 0.14831,
    "h": 104.6
  },
  "luminance": 0.47227
}

Semantic roles & 50–950 ramp

primary
#C5BA33
secondary
#878CCD
accent
#52E246
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C5BA33

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

Preview Lab → · Contrast checker → · Palette generator →

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