#C5B545#C5B545

#C5B545 is a light, vivid yellow. Relative luminance 0.453; OKLCH L 76.6% C 0.132 H 101.1°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#C5B545
RGBrgb(197, 181, 69)
HSLhsl(53, 52%, 52%)
HSVhsv(53, 65%, 77%)
CMYKcmyk(0%, 8.1%, 65%, 22.7%)
CIE-LABlab(73.12, -7.51, 57.13)
CIE-LCHlch(73.12, 57.62, 97.49°)
OKLaboklab(76.57% -0.0255 0.1294)
OKLCHoklch(76.57% 0.132 101.1)
XYZxyz(40.6257, 45.3494, 12.2425)
Luminance0.4535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B545 #4555C5
analogous
#C57545 #C5B545 #95C545
triadic
#C5B545 #45C5B5 #B545C5
tetradic
#C5B545 #45C575 #4555C5 #C54595
square
#C5B545 #45C575 #4555C5 #C54595
split-complementary
#C5B545 #4595C5 #7545C5
monochromatic
#6D6422 #9C8F31 #C5B545 #D4C874 #E2DAA2

Accessibility & contrast

On white

2.09
#C5B545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#C5B545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B545
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B545#FFFFFF#000000##000000
##C5B5451.002.0910.0710.07
#FFFFFF2.091.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B037
Deuteranopia (green-blind)
#CAB64B
Tritanopia (blue-blind)
#D4A99E
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #c5b545;
/* rgb */ color: rgb(197, 181, 69);
/* oklch */ color: oklch(76.6% 0.132 101.1);
Tailwind
colors: {
  custom: {
    50: '#daca7e',
    500: '#c5b545',
    950: '#000000',
  },
}
SCSS
$custom: #c5b545;
$custom-light: #daca7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b545",
  "rgb": {
    "r": 197,
    "g": 181,
    "b": 69
  },
  "hsl": {
    "h": 52.5,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.76572,
    "c": 0.13188,
    "h": 101.1
  },
  "luminance": 0.45348
}

Semantic roles & 50–950 ramp

primary
#C5B545
secondary
#979ECF
accent
#5EDC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5B545

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

Preview Lab → · Contrast checker → · Palette generator →

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