#C7CA39#C7CA39

#C7CA39 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.2% C 0.160 H 110.7°. Best body text is #000000 at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#C7CA39
RGBrgb(199, 202, 57)
HSLhsl(61, 58%, 51%)
HSVhsv(61, 72%, 79%)
CMYKcmyk(1.5%, 0%, 71.8%, 20.8%)
CIE-LABlab(78.86, -17.98, 67.57)
CIE-LCHlch(78.86, 69.92, 104.90°)
OKLaboklab(81.16% -0.0564 0.1494)
OKLCHoklch(81.16% 0.16 110.7)
XYZxyz(45.4138, 54.6798, 12.0321)
Luminance0.5468 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CA39 #3C39CA
analogous
#CA8439 #C7CA39 #7FCA39
triadic
#C7CA39 #39C7CA #CA39C7
tetradic
#C7CA39 #39CA84 #3C39CA #CA397F
square
#C7CA39 #39CA84 #3C39CA #CA397F
split-complementary
#C7CA39 #397FCA #8439CA
monochromatic
#6A6C1D #9A9C2A #C7CA39 #D5D769 #E2E49A

Accessibility & contrast

On white

1.76
#C7CA39 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.94
#C7CA39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CA39
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CA39#FFFFFF#000000##000000
##C7CA391.001.7611.9411.94
#FFFFFF1.761.0021.0021.00
#00000011.9421.001.001.00
##00000011.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC11D
Deuteranopia (green-blind)
#DBC544
Tritanopia (blue-blind)
#D5BDAE
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c7ca39;
/* rgb */ color: rgb(199, 202, 57);
/* oklch */ color: oklch(81.2% 0.160 110.7);
Tailwind
colors: {
  custom: {
    50: '#dcd979',
    500: '#c7ca39',
    950: '#000000',
  },
}
SCSS
$custom: #c7ca39;
$custom-light: #dcd979;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ca39",
  "rgb": {
    "r": 199,
    "g": 202,
    "b": 57
  },
  "hsl": {
    "h": 61.241,
    "s": 57.769,
    "l": 50.784
  },
  "oklch": {
    "l": 0.81156,
    "c": 0.15966,
    "h": 110.7
  },
  "luminance": 0.54679
}

Semantic roles & 50–950 ramp

primary
#C7CA39
secondary
#333275
accent
#47E14A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7CA39

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

Preview Lab → · Contrast checker → · Palette generator →

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