#C5BA30#C5BA30

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

Color values

HEX#C5BA30
RGBrgb(197, 186, 48)
HSLhsl(56, 61%, 48%)
HSVhsv(56, 76%, 77%)
CMYKcmyk(0%, 5.6%, 75.6%, 22.7%)
CIE-LABlab(74.32, -11.15, 66.27)
CIE-LCHlch(74.32, 67.21, 99.55°)
OKLaboklab(77.48% -0.038 0.1451)
OKLCHoklch(77.48% 0.15 104.7)
XYZxyz(41.1202, 47.2032, 9.7409)
Luminance0.4720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5BA30 #303BC5
analogous
#C56F30 #C5BA30 #86C530
triadic
#C5BA30 #30C5BA #BA30C5
tetradic
#C5BA30 #30C56F #303BC5 #C53086
square
#C5BA30 #30C56F #303BC5 #C53086
split-complementary
#C5BA30 #3086C5 #6F30C5
monochromatic
#635D18 #948C24 #C5BA30 #D7CE5B #E3DD8C

Accessibility & contrast

On white

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

On black

10.44
#C5BA30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5BA30
10.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5BA30#FFFFFF#000000##000000
##C5BA301.002.0110.4410.44
#FFFFFF2.011.0021.0021.00
#00000010.4421.001.001.00
##00000010.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5ba30;
/* rgb */ color: rgb(197, 186, 48);
/* oklch */ color: oklch(77.5% 0.150 104.7);
Tailwind
colors: {
  custom: {
    50: '#dbce73',
    500: '#c5ba30',
    950: '#000000',
  },
}
SCSS
$custom: #c5ba30;
$custom-light: #dbce73;
$custom-dark: #000000;
JSON
{
  "hex": "#c5ba30",
  "rgb": {
    "r": 197,
    "g": 186,
    "b": 48
  },
  "hsl": {
    "h": 55.57,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.7748,
    "c": 0.14997,
    "h": 104.7
  },
  "luminance": 0.47202
}

Semantic roles & 50–950 ramp

primary
#C5BA30
secondary
#8489CD
accent
#50E444
background
#FDFCF7
surface
#FBF9ED
border
#D4D2C8
text
#151309
muted
#83827B

Preview Lab

Preview with #C5BA30

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

Preview Lab → · Contrast checker → · Palette generator →

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