#C5B83A#C5B83A

#C5B83A is a light, vivid yellow. Relative luminance 0.465; OKLCH L 77.1% C 0.142 H 103.3°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#C5B83A
RGBrgb(197, 184, 58)
HSLhsl(54, 55%, 50%)
HSVhsv(54, 71%, 77%)
CMYKcmyk(0%, 6.6%, 70.6%, 22.7%)
CIE-LABlab(73.84, -9.67, 62.28)
CIE-LCHlch(73.84, 63.03, 98.82°)
OKLaboklab(77.12% -0.0328 0.1385)
OKLCHoklch(77.12% 0.142 103.3)
XYZxyz(40.9319, 46.4585, 10.8135)
Luminance0.4646 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B83A #3A47C5
analogous
#C5723A #C5B83A #8DC53A
triadic
#C5B83A #3AC5B8 #B83AC5
tetradic
#C5B83A #3AC572 #3A47C5 #C53A8D
square
#C5B83A #3AC572 #3A47C5 #C53A8D
split-complementary
#C5B83A #3A8DC5 #723AC5
monochromatic
#66601E #968C2C #C5B83A #D3C969 #E1DA99

Accessibility & contrast

On white

2.04
#C5B83A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#C5B83A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B83A
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B83A#FFFFFF#000000##000000
##C5B83A1.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B226
Deuteranopia (green-blind)
#CDB842
Tritanopia (blue-blind)
#D4AB9F
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c5b83a;
/* rgb */ color: rgb(197, 184, 58);
/* oklch */ color: oklch(77.1% 0.142 103.3);
Tailwind
colors: {
  custom: {
    50: '#dacd78',
    500: '#c5b83a',
    950: '#000000',
  },
}
SCSS
$custom: #c5b83a;
$custom-light: #dacd78;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b83a",
  "rgb": {
    "r": 197,
    "g": 184,
    "b": 58
  },
  "hsl": {
    "h": 54.388,
    "s": 54.51,
    "l": 50
  },
  "oklch": {
    "l": 0.77119,
    "c": 0.14229,
    "h": 103.3
  },
  "luminance": 0.46457
}

Semantic roles & 50–950 ramp

primary
#C5B83A
secondary
#8E94CD
accent
#58DE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C5B83A

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

Preview Lab → · Contrast checker → · Palette generator →

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