#C5C047#C5C047

#C5C047 is a light, vivid yellow. Relative luminance 0.500; OKLCH L 78.9% C 0.141 H 106.9°. Best body text is #000000 at 11.01:1 contrast (WCAG AA passes).

Color values

HEX#C5C047
RGBrgb(197, 192, 71)
HSLhsl(58, 52%, 53%)
HSVhsv(58, 64%, 77%)
CMYKcmyk(0%, 2.5%, 64%, 22.7%)
CIE-LABlab(76.09, -13.04, 59.41)
CIE-LCHlch(76.09, 60.82, 102.38°)
OKLaboklab(78.94% -0.041 0.1345)
OKLCHoklch(78.94% 0.141 106.9)
XYZxyz(43.0144, 50.0259, 13.3501)
Luminance0.5002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C047 #474CC5
analogous
#C58147 #C5C047 #8BC547
triadic
#C5C047 #47C5C0 #C047C5
tetradic
#C5C047 #47C581 #474CC5 #C5478B
square
#C5C047 #47C581 #474CC5 #C5478B
split-complementary
#C5C047 #478BC5 #8147C5
monochromatic
#6F6C23 #9D9932 #C5C047 #D4D076 #E2E0A4

Accessibility & contrast

On white

1.91
#C5C047 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.01
#C5C047 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C047
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C047#FFFFFF#000000##000000
##C5C0471.001.9111.0111.01
#FFFFFF1.911.0021.0021.00
#00000011.0121.001.001.00
##00000011.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB937
Deuteranopia (green-blind)
#D2BE4E
Tritanopia (blue-blind)
#D3B4A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c5c047;
/* rgb */ color: rgb(197, 192, 71);
/* oklch */ color: oklch(78.9% 0.141 106.9);
Tailwind
colors: {
  custom: {
    50: '#dad280',
    500: '#c5c047',
    950: '#000000',
  },
}
SCSS
$custom: #c5c047;
$custom-light: #dad280;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c047",
  "rgb": {
    "r": 197,
    "g": 192,
    "b": 71
  },
  "hsl": {
    "h": 57.619,
    "s": 52.066,
    "l": 52.549
  },
  "oklch": {
    "l": 0.78935,
    "c": 0.14062,
    "h": 106.9
  },
  "luminance": 0.50025
}

Semantic roles & 50–950 ramp

primary
#C5C047
secondary
#383B78
accent
#52DC4C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C5C047

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

Preview Lab → · Contrast checker → · Palette generator →

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