#C5B045#C5B045

#C5B045 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.5% C 0.128 H 98.1°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#C5B045
RGBrgb(197, 176, 69)
HSLhsl(50, 52%, 52%)
HSVhsv(50, 65%, 77%)
CMYKcmyk(0%, 10.7%, 65%, 22.7%)
CIE-LABlab(71.79, -4.89, 55.72)
CIE-LCHlch(71.79, 55.93, 95.02°)
OKLaboklab(75.52% -0.018 0.1264)
OKLCHoklch(75.52% 0.128 98.1)
XYZxyz(39.6272, 43.3525, 11.9096)
Luminance0.4335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B045 #455AC5
analogous
#C57045 #C5B045 #9AC545
triadic
#C5B045 #45C5B0 #B045C5
tetradic
#C5B045 #45C570 #455AC5 #C5459A
square
#C5B045 #45C570 #455AC5 #C5459A
split-complementary
#C5B045 #459AC5 #7045C5
monochromatic
#6D6122 #9C8A31 #C5B045 #D4C474 #E2D8A2

Accessibility & contrast

On white

2.17
#C5B045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#C5B045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B045
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B045#FFFFFF#000000##000000
##C5B0451.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5b045;
/* rgb */ color: rgb(197, 176, 69);
/* oklch */ color: oklch(75.5% 0.128 98.1);
Tailwind
colors: {
  custom: {
    50: '#dac77e',
    500: '#c5b045',
    950: '#000000',
  },
}
SCSS
$custom: #c5b045;
$custom-light: #dac77e;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b045",
  "rgb": {
    "r": 197,
    "g": 176,
    "b": 69
  },
  "hsl": {
    "h": 50.156,
    "s": 52.459,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75519,
    "c": 0.1277,
    "h": 98.1
  },
  "luminance": 0.43351
}

Semantic roles & 50–950 ramp

primary
#C5B045
secondary
#97A0CF
accent
#64DC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5B045

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

Preview Lab → · Contrast checker → · Palette generator →

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