#C5B239#C5B239

#C5B239 is a light, vivid yellow. Relative luminance 0.440; OKLCH L 75.8% C 0.138 H 100.1°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#C5B239
RGBrgb(197, 178, 57)
HSLhsl(52, 55%, 50%)
HSVhsv(52, 71%, 77%)
CMYKcmyk(0%, 9.6%, 71.1%, 22.7%)
CIE-LABlab(72.23, -6.61, 61.08)
CIE-LCHlch(72.23, 61.43, 96.17°)
OKLaboklab(75.84% -0.0243 0.1357)
OKLCHoklch(75.84% 0.138 100.1)
XYZxyz(39.6867, 44.0084, 10.2741)
Luminance0.4401 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B239 #394CC5
analogous
#C56C39 #C5B239 #92C539
triadic
#C5B239 #39C5B2 #B239C5
tetradic
#C5B239 #39C56C #394CC5 #C53992
square
#C5B239 #39C56C #394CC5 #C53992
split-complementary
#C5B239 #3992C5 #6C39C5
monochromatic
#665C1E #96872B #C5B239 #D3C568 #E1D797

Accessibility & contrast

On white

2.14
#C5B239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#C5B239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B239
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B239#FFFFFF#000000##000000
##C5B2391.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD26
Deuteranopia (green-blind)
#C8B441
Tritanopia (blue-blind)
#D4A59A
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c5b239;
/* rgb */ color: rgb(197, 178, 57);
/* oklch */ color: oklch(75.8% 0.138 100.1);
Tailwind
colors: {
  custom: {
    50: '#dac877',
    500: '#c5b239',
    950: '#000000',
  },
}
SCSS
$custom: #c5b239;
$custom-light: #dac877;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b239",
  "rgb": {
    "r": 197,
    "g": 178,
    "b": 57
  },
  "hsl": {
    "h": 51.857,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.7584,
    "c": 0.13787,
    "h": 100.1
  },
  "luminance": 0.44007
}

Semantic roles & 50–950 ramp

primary
#C5B239
secondary
#8D96CD
accent
#5EDE49
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #C5B239

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

Preview Lab → · Contrast checker → · Palette generator →

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