#C7D938#C7D938

#C7D938 is a very light, vivid yellow. Relative luminance 0.621; OKLCH L 84.4% C 0.176 H 115.9°. Best body text is #000000 at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#C7D938
RGBrgb(199, 217, 56)
HSLhsl(67, 68%, 54%)
HSVhsv(67, 74%, 85%)
CMYKcmyk(8.3%, 0%, 74.2%, 14.9%)
CIE-LABlab(82.94, -25.34, 71.77)
CIE-LCHlch(82.94, 76.11, 109.44°)
OKLaboklab(84.43% -0.0769 0.1581)
OKLCHoklch(84.43% 0.176 115.9)
XYZxyz(49.0812, 62.0541, 13.1327)
Luminance0.6205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D938 #4A38D9
analogous
#D99A38 #C7D938 #76D938
triadic
#C7D938 #38C7D9 #D938C7
tetradic
#C7D938 #38D99A #4A38D9 #D93876
square
#C7D938 #38D99A #4A38D9 #D93876
split-complementary
#C7D938 #3876D9 #9A38D9
monochromatic
#737E18 #A2B222 #C7D938 #D5E36B #E4ED9F

Accessibility & contrast

On white

1.57
#C7D938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.41
#C7D938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D938
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D938#FFFFFF#000000##000000
##C7D9381.001.5713.4113.41
#FFFFFF1.571.0021.0021.00
#00000013.4121.001.001.00
##00000013.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8CE12
Deuteranopia (green-blind)
#E7D046
Tritanopia (blue-blind)
#D4CCBB
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #c7d938;
/* rgb */ color: rgb(199, 217, 56);
/* oklch */ color: oklch(84.4% 0.176 115.9);
Tailwind
colors: {
  custom: {
    50: '#dce47b',
    500: '#c7d938',
    950: '#000000',
  },
}
SCSS
$custom: #c7d938;
$custom-light: #dce47b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d938",
  "rgb": {
    "r": 199,
    "g": 217,
    "b": 56
  },
  "hsl": {
    "h": 66.708,
    "s": 67.932,
    "l": 53.529
  },
  "oklch": {
    "l": 0.84428,
    "c": 0.17581,
    "h": 115.9
  },
  "luminance": 0.62053
}

Semantic roles & 50–950 ramp

primary
#C7D938
secondary
#393086
accent
#3DEB50
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C7D938

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

Preview Lab → · Contrast checker → · Palette generator →

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