#C5B140#C5B140

#C5B140 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.7% C 0.132 H 99.1°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#C5B140
RGBrgb(197, 177, 64)
HSLhsl(51, 53%, 51%)
HSVhsv(51, 68%, 77%)
CMYKcmyk(0%, 10.2%, 67.5%, 22.7%)
CIE-LABlab(72.02, -5.71, 58.07)
CIE-LCHlch(72.02, 58.35, 95.62°)
OKLaboklab(75.69% -0.0209 0.1306)
OKLCHoklch(75.69% 0.132 99.1)
XYZxyz(39.6753, 43.6866, 11.1920)
Luminance0.4369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B140 #4054C5
analogous
#C56E40 #C5B140 #97C540
triadic
#C5B140 #40C5B1 #B140C5
tetradic
#C5B140 #40C56E #4054C5 #C54097
square
#C5B140 #40C56E #4054C5 #C54097
split-complementary
#C5B140 #4097C5 #6E40C5
monochromatic
#6A5F20 #99892F #C5B140 #D3C46F #E2D79E

Accessibility & contrast

On white

2.16
#C5B140 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.74
#C5B140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B140
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B140#FFFFFF#000000##000000
##C5B1401.002.169.749.74
#FFFFFF2.161.0021.0021.00
#0000009.7421.001.001.00
##0000009.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC31
Deuteranopia (green-blind)
#C7B446
Tritanopia (blue-blind)
#D4A49A
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #c5b140;
/* rgb */ color: rgb(197, 177, 64);
/* oklch */ color: oklch(75.7% 0.132 99.1);
Tailwind
colors: {
  custom: {
    50: '#dac87b',
    500: '#c5b140',
    950: '#000000',
  },
}
SCSS
$custom: #c5b140;
$custom-light: #dac87b;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b140",
  "rgb": {
    "r": 197,
    "g": 177,
    "b": 64
  },
  "hsl": {
    "h": 50.977,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.75685,
    "c": 0.13225,
    "h": 99.1
  },
  "luminance": 0.43685
}

Semantic roles & 50–950 ramp

primary
#C5B140
secondary
#939CCE
accent
#61DD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5B140

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

Preview Lab → · Contrast checker → · Palette generator →

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