#C7D738#C7D738

#C7D738 is a very light, vivid yellow. Relative luminance 0.610; OKLCH L 84.0% C 0.174 H 115.3°. Best body text is #000000 at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#C7D738
RGBrgb(199, 215, 56)
HSLhsl(66, 67%, 53%)
HSVhsv(66, 74%, 84%)
CMYKcmyk(7.4%, 0%, 74%, 15.7%)
CIE-LABlab(82.39, -24.38, 71.26)
CIE-LCHlch(82.39, 75.31, 108.88°)
OKLaboklab(83.99% -0.0742 0.157)
OKLCHoklch(83.99% 0.174 115.3)
XYZxyz(48.5688, 61.0293, 12.9619)
Luminance0.6103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D738 #4838D7
analogous
#D79838 #C7D738 #77D738
triadic
#C7D738 #38C7D7 #D738C7
tetradic
#C7D738 #38D798 #4838D7 #D73877
square
#C7D738 #38D798 #4838D7 #D73877
split-complementary
#C7D738 #3877D7 #9838D7
monochromatic
#727C19 #A1AF23 #C7D738 #D5E16B #E4EB9E

Accessibility & contrast

On white

1.59
#C7D738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.21
#C7D738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D738
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D738#FFFFFF#000000##000000
##C7D7381.001.5913.2113.21
#FFFFFF1.591.0021.0021.00
#00000013.2121.001.001.00
##00000013.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#E6CC13
Deuteranopia (green-blind)
#E5CE46
Tritanopia (blue-blind)
#D4CAB9
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #c7d738;
/* rgb */ color: rgb(199, 215, 56);
/* oklch */ color: oklch(84.0% 0.174 115.3);
Tailwind
colors: {
  custom: {
    50: '#dce37a',
    500: '#c7d738',
    950: '#000000',
  },
}
SCSS
$custom: #c7d738;
$custom-light: #dce37a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d738",
  "rgb": {
    "r": 199,
    "g": 215,
    "b": 56
  },
  "hsl": {
    "h": 66.038,
    "s": 66.527,
    "l": 53.137
  },
  "oklch": {
    "l": 0.83988,
    "c": 0.17368,
    "h": 115.3
  },
  "luminance": 0.61029
}

Semantic roles & 50–950 ramp

primary
#C7D738
secondary
#383083
accent
#3EE950
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150A
muted
#84847D

Preview Lab

Preview with #C7D738

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

Preview Lab → · Contrast checker → · Palette generator →

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