#C5C745#C5C745

#C5C745 is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.4% C 0.149 H 110.2°. Best body text is #000000 at 11.63:1 contrast (WCAG AA passes).

Color values

HEX#C5C745
RGBrgb(197, 199, 69)
HSLhsl(61, 54%, 53%)
HSVhsv(61, 65%, 78%)
CMYKcmyk(1%, 0%, 65.3%, 22%)
CIE-LABlab(77.96, -16.69, 62.17)
CIE-LCHlch(77.96, 64.37, 105.03°)
OKLaboklab(80.43% -0.0515 0.14)
OKLCHoklch(80.43% 0.149 110.2)
XYZxyz(44.5250, 53.1480, 13.5422)
Luminance0.5315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C745 #4745C7
analogous
#C78845 #C5C745 #84C745
triadic
#C5C745 #45C5C7 #C745C5
tetradic
#C5C745 #45C788 #4745C7 #C74584
square
#C5C745 #45C788 #4745C7 #C74584
split-complementary
#C5C745 #4584C7 #8845C7
monochromatic
#6F7022 #9D9F30 #C5C745 #D4D574 #E2E3A3

Accessibility & contrast

On white

1.81
#C5C745 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.63
#C5C745 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C745
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C745#FFFFFF#000000##000000
##C5C7451.001.8111.6311.63
#FFFFFF1.811.0021.0021.00
#00000011.6321.001.001.00
##00000011.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF33
Deuteranopia (green-blind)
#D7C34E
Tritanopia (blue-blind)
#D2BBAD
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c5c745;
/* rgb */ color: rgb(197, 199, 69);
/* oklch */ color: oklch(80.4% 0.149 110.2);
Tailwind
colors: {
  custom: {
    50: '#dad780',
    500: '#c5c745',
    950: '#000000',
  },
}
SCSS
$custom: #c5c745;
$custom-light: #dad780;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c745",
  "rgb": {
    "r": 197,
    "g": 199,
    "b": 69
  },
  "hsl": {
    "h": 60.923,
    "s": 53.719,
    "l": 52.549
  },
  "oklch": {
    "l": 0.80427,
    "c": 0.1492,
    "h": 110.2
  },
  "luminance": 0.53147
}

Semantic roles & 50–950 ramp

primary
#C5C745
secondary
#383779
accent
#4BDD4D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C5C745

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

Preview Lab → · Contrast checker → · Palette generator →

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