#C5B241#C5B241

#C5B241 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.9% C 0.132 H 99.6°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#C5B241
RGBrgb(197, 178, 65)
HSLhsl(51, 53%, 51%)
HSVhsv(51, 67%, 77%)
CMYKcmyk(0%, 9.6%, 67%, 22.7%)
CIE-LABlab(72.29, -6.18, 57.94)
CIE-LCHlch(72.29, 58.27, 96.09°)
OKLaboklab(75.9% -0.0222 0.1305)
OKLCHoklch(75.9% 0.132 99.6)
XYZxyz(39.9022, 44.0946, 11.4093)
Luminance0.4409 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5B241 #4154C5
analogous
#C57041 #C5B241 #96C541
triadic
#C5B241 #41C5B2 #B241C5
tetradic
#C5B241 #41C570 #4154C5 #C54196
square
#C5B241 #41C570 #4154C5 #C54196
split-complementary
#C5B241 #4196C5 #7041C5
monochromatic
#6B6021 #9A8A2F #C5B241 #D3C570 #E2D89F

Accessibility & contrast

On white

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

On black

9.82
#C5B241 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5B241
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5B241#FFFFFF#000000##000000
##C5B2411.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD32
Deuteranopia (green-blind)
#C8B447
Tritanopia (blue-blind)
#D4A59B
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #c5b241;
/* rgb */ color: rgb(197, 178, 65);
/* oklch */ color: oklch(75.9% 0.132 99.6);
Tailwind
colors: {
  custom: {
    50: '#dac87b',
    500: '#c5b241',
    950: '#000000',
  },
}
SCSS
$custom: #c5b241;
$custom-light: #dac87b;
$custom-dark: #000000;
JSON
{
  "hex": "#c5b241",
  "rgb": {
    "r": 197,
    "g": 178,
    "b": 65
  },
  "hsl": {
    "h": 51.364,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.75904,
    "c": 0.13234,
    "h": 99.6
  },
  "luminance": 0.44093
}

Semantic roles & 50–950 ramp

primary
#C5B241
secondary
#949CCE
accent
#60DD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C

Preview Lab

Preview with #C5B241

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

Preview Lab → · Contrast checker → · Palette generator →

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