#C7D941#C7D941

#C7D941 is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 84.5% C 0.171 H 116.1°. Best body text is #000000 at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#C7D941
RGBrgb(199, 217, 65)
HSLhsl(67, 67%, 55%)
HSVhsv(67, 70%, 85%)
CMYKcmyk(8.3%, 0%, 70%, 14.9%)
CIE-LABlab(82.99, -24.90, 68.79)
CIE-LCHlch(82.99, 73.15, 109.90°)
OKLaboklab(84.49% -0.0749 0.1533)
OKLCHoklch(84.49% 0.171 116.1)
XYZxyz(49.3214, 62.1502, 14.3980)
Luminance0.6215 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D941 #5341D9
analogous
#D99F41 #C7D941 #7BD941
triadic
#C7D941 #41C7D9 #D941C7
tetradic
#C7D941 #41D99F #5341D9 #D9417B
square
#C7D941 #41D99F #5341D9 #D9417B
split-complementary
#C7D941 #417BD9 #9F41D9
monochromatic
#78851B #A7B825 #C7D941 #D6E374 #E5EDA7

Accessibility & contrast

On white

1.56
#C7D941 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.43
#C7D941 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D941
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D941#FFFFFF#000000##000000
##C7D9411.001.5613.4313.43
#FFFFFF1.561.0021.0021.00
#00000013.4321.001.001.00
##00000013.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE27
Deuteranopia (green-blind)
#E6D04D
Tritanopia (blue-blind)
#D3CDBB
Achromatopsia (no color)
#CFCFCF

Design tokens & code

CSS
--color: #c7d941;
/* rgb */ color: rgb(199, 217, 65);
/* oklch */ color: oklch(84.5% 0.171 116.1);
Tailwind
colors: {
  custom: {
    50: '#dbe47f',
    500: '#c7d941',
    950: '#000000',
  },
}
SCSS
$custom: #c7d941;
$custom-light: #dbe47f;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d941",
  "rgb": {
    "r": 199,
    "g": 217,
    "b": 65
  },
  "hsl": {
    "h": 67.105,
    "s": 66.667,
    "l": 55.294
  },
  "oklch": {
    "l": 0.84485,
    "c": 0.17061,
    "h": 116.1
  },
  "luminance": 0.62149
}

Semantic roles & 50–950 ramp

primary
#C7D941
secondary
#3D338B
accent
#3EEA53
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7D941

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

Preview Lab → · Contrast checker → · Palette generator →

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