#C7C343#C7C343

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

Color values

HEX#C7C343
RGBrgb(199, 195, 67)
HSLhsl(58, 54%, 52%)
HSVhsv(58, 66%, 78%)
CMYKcmyk(0%, 2%, 66.3%, 22%)
CIE-LABlab(77.03, -13.95, 62.06)
CIE-LCHlch(77.03, 63.61, 102.67°)
OKLaboklab(79.72% -0.0441 0.1394)
OKLCHoklch(79.72% 0.146 107.6)
XYZxyz(44.0830, 51.5790, 12.9427)
Luminance0.5158 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C343 #4347C7
analogous
#C78143 #C7C343 #89C743
triadic
#C7C343 #43C7C3 #C343C7
tetradic
#C7C343 #43C781 #4347C7 #C74389
square
#C7C343 #43C781 #4347C7 #C74389
split-complementary
#C7C343 #4389C7 #8143C7
monochromatic
#6F6C21 #9E9A2F #C7C343 #D5D272 #E3E1A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7C343#FFFFFF#000000##000000
##C7C3431.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)
#D3BC31
Deuteranopia (green-blind)
#D5C04B
Tritanopia (blue-blind)
#D5B7A9
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c7c343;
/* rgb */ color: rgb(199, 195, 67);
/* oklch */ color: oklch(79.7% 0.146 107.6);
Tailwind
colors: {
  custom: {
    50: '#dbd47e',
    500: '#c7c343',
    950: '#000000',
  },
}
SCSS
$custom: #c7c343;
$custom-light: #dbd47e;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c343",
  "rgb": {
    "r": 199,
    "g": 195,
    "b": 67
  },
  "hsl": {
    "h": 58.182,
    "s": 54.098,
    "l": 52.157
  },
  "oklch": {
    "l": 0.79717,
    "c": 0.14624,
    "h": 107.6
  },
  "luminance": 0.51578
}

Semantic roles & 50–950 ramp

primary
#C7C343
secondary
#363878
accent
#4FDD4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7C343

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

Preview Lab → · Contrast checker → · Palette generator →

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