#C7C345#C7C345

#C7C345 is a light, vivid yellow. Relative luminance 0.516; OKLCH L 79.7% C 0.145 H 107.5°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#C7C345
RGBrgb(199, 195, 69)
HSLhsl(58, 54%, 53%)
HSVhsv(58, 65%, 78%)
CMYKcmyk(0%, 2%, 65.3%, 22%)
CIE-LABlab(77.04, -13.84, 61.27)
CIE-LCHlch(77.04, 62.82, 102.72°)
OKLaboklab(79.73% -0.0436 0.1381)
OKLCHoklch(79.73% 0.145 107.5)
XYZxyz(44.1440, 51.6034, 13.2642)
Luminance0.5160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C345 #4549C7
analogous
#C78245 #C7C345 #8AC745
triadic
#C7C345 #45C7C3 #C345C7
tetradic
#C7C345 #45C782 #4549C7 #C7458A
square
#C7C345 #45C782 #4549C7 #C7458A
split-complementary
#C7C345 #458AC7 #8245C7
monochromatic
#706E22 #9F9C30 #C7C345 #D5D274 #E3E1A3

Accessibility & contrast

On white

1.86
#C7C345 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.32
#C7C345 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C345
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C345#FFFFFF#000000##000000
##C7C3451.001.8611.3211.32
#FFFFFF1.861.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC34
Deuteranopia (green-blind)
#D5C04D
Tritanopia (blue-blind)
#D5B7A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c7c345;
/* rgb */ color: rgb(199, 195, 69);
/* oklch */ color: oklch(79.7% 0.145 107.5);
Tailwind
colors: {
  custom: {
    50: '#dbd47f',
    500: '#c7c345',
    950: '#000000',
  },
}
SCSS
$custom: #c7c345;
$custom-light: #dbd47f;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c345",
  "rgb": {
    "r": 199,
    "g": 195,
    "b": 69
  },
  "hsl": {
    "h": 58.154,
    "s": 53.719,
    "l": 52.549
  },
  "oklch": {
    "l": 0.79733,
    "c": 0.14481,
    "h": 107.5
  },
  "luminance": 0.51602
}

Semantic roles & 50–950 ramp

primary
#C7C345
secondary
#373979
accent
#4FDD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7C345

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

Preview Lab → · Contrast checker → · Palette generator →

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