#C5B439#C5B439

#C5B439 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.3% C 0.140 H 101.2°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#C5B439
RGBrgb(197, 180, 57)
HSLhsl(53, 55%, 50%)
HSVhsv(53, 71%, 77%)
CMYKcmyk(0%, 8.6%, 71.1%, 22.7%)
CIE-LABlab(72.77, -7.65, 61.60)
CIE-LCHlch(72.77, 62.07, 97.08°)
OKLaboklab(76.26% -0.0272 0.1368)
OKLCHoklch(76.26% 0.14 101.2)
XYZxyz(40.0875, 44.8100, 10.4077)
Luminance0.4481 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B439 #394AC5
analogous
#C56E39 #C5B439 #90C539
triadic
#C5B439 #39C5B4 #B439C5
tetradic
#C5B439 #39C56E #394AC5 #C53990
square
#C5B439 #39C56E #394AC5 #C53990
split-complementary
#C5B439 #3990C5 #6E39C5
monochromatic
#665D1E #96892B #C5B439 #D3C668 #E1D897

Accessibility & contrast

On white

2.11
#C5B439 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.96
#C5B439 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B439
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B439#FFFFFF#000000##000000
##C5B4391.002.119.969.96
#FFFFFF2.111.0021.0021.00
#0000009.9621.001.001.00
##0000009.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF25
Deuteranopia (green-blind)
#CAB641
Tritanopia (blue-blind)
#D4A79C
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c5b439;
/* rgb */ color: rgb(197, 180, 57);
/* oklch */ color: oklch(76.3% 0.140 101.2);
Tailwind
colors: {
  custom: {
    50: '#daca77',
    500: '#c5b439',
    950: '#000000',
  },
}
SCSS
$custom: #c5b439;
$custom-light: #daca77;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b439",
  "rgb": {
    "r": 197,
    "g": 180,
    "b": 57
  },
  "hsl": {
    "h": 52.714,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.76263,
    "c": 0.13951,
    "h": 101.2
  },
  "luminance": 0.44808
}

Semantic roles & 50–950 ramp

primary
#C5B439
secondary
#8D95CD
accent
#5BDE49
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C5B439

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

Preview Lab → · Contrast checker → · Palette generator →

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