#C5C440#C5C440

#C5C440 is a light, vivid yellow. Relative luminance 0.517; OKLCH L 79.7% C 0.150 H 108.9°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#C5C440
RGBrgb(197, 196, 64)
HSLhsl(60, 53%, 51%)
HSVhsv(60, 68%, 77%)
CMYKcmyk(0%, 0.5%, 67.5%, 22.7%)
CIE-LABlab(77.11, -15.47, 63.26)
CIE-LCHlch(77.11, 65.12, 103.74°)
OKLaboklab(79.74% -0.0486 0.1415)
OKLCHoklch(79.74% 0.15 108.9)
XYZxyz(43.6928, 51.7216, 12.5312)
Luminance0.5172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C440 #4041C5
analogous
#C58140 #C5C440 #83C540
triadic
#C5C440 #40C5C4 #C440C5
tetradic
#C5C440 #40C581 #4041C5 #C54083
square
#C5C440 #40C581 #4041C5 #C54083
split-complementary
#C5C440 #4083C5 #8140C5
monochromatic
#6A6A20 #99982F #C5C440 #D3D36F #E2E19E

Accessibility & contrast

On white

1.85
#C5C440 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.34
#C5C440 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C440
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C440#FFFFFF#000000##000000
##C5C4401.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC2C
Deuteranopia (green-blind)
#D5C049
Tritanopia (blue-blind)
#D3B8AA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c5c440;
/* rgb */ color: rgb(197, 196, 64);
/* oklch */ color: oklch(79.7% 0.150 108.9);
Tailwind
colors: {
  custom: {
    50: '#dad57c',
    500: '#c5c440',
    950: '#000000',
  },
}
SCSS
$custom: #c5c440;
$custom-light: #dad57c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c440",
  "rgb": {
    "r": 197,
    "g": 196,
    "b": 64
  },
  "hsl": {
    "h": 59.549,
    "s": 53.414,
    "l": 51.176
  },
  "oklch": {
    "l": 0.79739,
    "c": 0.14963,
    "h": 108.9
  },
  "luminance": 0.5172
}

Semantic roles & 50–950 ramp

primary
#C5C440
secondary
#353574
accent
#4CDD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5C440

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

Preview Lab → · Contrast checker → · Palette generator →

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