#C5C043#C5C043

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

Color values

HEX#C5C043
RGBrgb(197, 192, 67)
HSLhsl(58, 53%, 52%)
HSVhsv(58, 66%, 77%)
CMYKcmyk(0%, 2.5%, 66%, 22.7%)
CIE-LABlab(76.05, -13.28, 61.01)
CIE-LCHlch(76.05, 62.43, 102.28°)
OKLaboklab(78.9% -0.0421 0.1373)
OKLCHoklch(78.9% 0.144 107)
XYZxyz(42.8903, 49.9762, 12.6962)
Luminance0.4998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C043 #4348C5
analogous
#C57F43 #C5C043 #89C543
triadic
#C5C043 #43C5C0 #C043C5
tetradic
#C5C043 #43C57F #4348C5 #C54389
square
#C5C043 #43C57F #4348C5 #C54389
split-complementary
#C5C043 #4389C5 #7F43C5
monochromatic
#6C6921 #9B9730 #C5C043 #D3D072 #E2DFA1

Accessibility & contrast

On white

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

On black

11.00
#C5C043 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C043
11.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C043#FFFFFF#000000##000000
##C5C0431.001.9111.0011.00
#FFFFFF1.911.0021.0021.00
#00000011.0021.001.001.00
##00000011.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B932
Deuteranopia (green-blind)
#D2BE4B
Tritanopia (blue-blind)
#D3B4A7
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c5c043;
/* rgb */ color: rgb(197, 192, 67);
/* oklch */ color: oklch(78.9% 0.144 107.0);
Tailwind
colors: {
  custom: {
    50: '#dad27e',
    500: '#c5c043',
    950: '#000000',
  },
}
SCSS
$custom: #c5c043;
$custom-light: #dad27e;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c043",
  "rgb": {
    "r": 197,
    "g": 192,
    "b": 67
  },
  "hsl": {
    "h": 57.692,
    "s": 52.846,
    "l": 51.765
  },
  "oklch": {
    "l": 0.78901,
    "c": 0.14357,
    "h": 107
  },
  "luminance": 0.49975
}

Semantic roles & 50–950 ramp

primary
#C5C043
secondary
#9598CE
accent
#51DC4C
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C5C043

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

Preview Lab → · Contrast checker → · Palette generator →

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