#C7C339#C7C339

#C7C339 is a light, vivid yellow. Relative luminance 0.515; OKLCH L 79.6% C 0.153 H 107.7°. Best body text is #000000 at 11.29:1 contrast (WCAG AA passes).

Color values

HEX#C7C339
RGBrgb(199, 195, 57)
HSLhsl(58, 56%, 50%)
HSVhsv(58, 71%, 78%)
CMYKcmyk(0%, 2%, 71.4%, 22%)
CIE-LABlab(76.96, -14.47, 65.75)
CIE-LCHlch(76.96, 67.32, 102.41°)
OKLaboklab(79.64% -0.0466 0.1455)
OKLCHoklch(79.64% 0.153 107.7)
XYZxyz(43.8085, 51.4692, 11.4970)
Luminance0.5147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C339 #393DC7
analogous
#C77C39 #C7C339 #84C739
triadic
#C7C339 #39C7C3 #C339C7
tetradic
#C7C339 #39C77C #393DC7 #C73984
square
#C7C339 #39C77C #393DC7 #C73984
split-complementary
#C7C339 #3984C7 #7C39C7
monochromatic
#68661D #98952B #C7C339 #D4D169 #E2E098

Accessibility & contrast

On white

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

On black

11.29
#C7C339 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C339
11.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C339#FFFFFF#000000##000000
##C7C3391.001.8611.2911.29
#FFFFFF1.861.0021.0021.00
#00000011.2921.001.001.00
##00000011.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BB20
Deuteranopia (green-blind)
#D6C043
Tritanopia (blue-blind)
#D5B6A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c7c339;
/* rgb */ color: rgb(199, 195, 57);
/* oklch */ color: oklch(79.6% 0.153 107.7);
Tailwind
colors: {
  custom: {
    50: '#dcd479',
    500: '#c7c339',
    950: '#000000',
  },
}
SCSS
$custom: #c7c339;
$custom-light: #dcd479;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c339",
  "rgb": {
    "r": 199,
    "g": 195,
    "b": 57
  },
  "hsl": {
    "h": 58.31,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.79643,
    "c": 0.1528,
    "h": 107.7
  },
  "luminance": 0.51468
}

Semantic roles & 50–950 ramp

primary
#C7C339
secondary
#323472
accent
#4DDF49
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7C339

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

Preview Lab → · Contrast checker → · Palette generator →

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