#C5B43E#C5B43E

#C5B43E is a light, vivid yellow. Relative luminance 0.449; OKLCH L 76.3% C 0.136 H 101.0°. Best body text is #000000 at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#C5B43E
RGBrgb(197, 180, 62)
HSLhsl(52, 54%, 51%)
HSVhsv(52, 69%, 77%)
CMYKcmyk(0%, 8.6%, 68.5%, 22.7%)
CIE-LABlab(72.80, -7.39, 59.68)
CIE-LCHlch(72.80, 60.14, 97.06°)
OKLaboklab(76.3% -0.0259 0.1337)
OKLCHoklch(76.3% 0.136 101)
XYZxyz(40.2185, 44.8624, 11.0973)
Luminance0.4486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B43E #3E4FC5
analogous
#C5703E #C5B43E #93C53E
triadic
#C5B43E #3EC5B4 #B43EC5
tetradic
#C5B43E #3EC570 #3E4FC5 #C53E93
square
#C5B43E #3EC570 #3E4FC5 #C53E93
split-complementary
#C5B43E #3E93C5 #703EC5
monochromatic
#696020 #988B2E #C5B43E #D3C66D #E1D99C

Accessibility & contrast

On white

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

On black

9.97
#C5B43E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B43E
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B43E#FFFFFF#000000##000000
##C5B43E1.002.119.979.97
#FFFFFF2.111.0021.0021.00
#0000009.9721.001.001.00
##0000009.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5b43e;
/* rgb */ color: rgb(197, 180, 62);
/* oklch */ color: oklch(76.3% 0.136 101.0);
Tailwind
colors: {
  custom: {
    50: '#daca7a',
    500: '#c5b43e',
    950: '#000000',
  },
}
SCSS
$custom: #c5b43e;
$custom-light: #daca7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b43e",
  "rgb": {
    "r": 197,
    "g": 180,
    "b": 62
  },
  "hsl": {
    "h": 52.444,
    "s": 53.785,
    "l": 50.784
  },
  "oklch": {
    "l": 0.76301,
    "c": 0.13615,
    "h": 101
  },
  "luminance": 0.44861
}

Semantic roles & 50–950 ramp

primary
#C5B43E
secondary
#9199CD
accent
#5DDD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5B43E

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

Preview Lab → · Contrast checker → · Palette generator →

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