#C7D062#C7D062

#C7D062 is a very light, vivid yellow. Relative luminance 0.581; OKLCH L 82.8% C 0.135 H 113.2°. Best body text is #000000 at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#C7D062
RGBrgb(199, 208, 98)
HSLhsl(65, 54%, 60%)
HSVhsv(65, 53%, 82%)
CMYKcmyk(4.3%, 0%, 52.9%, 18.4%)
CIE-LABlab(80.81, -18.26, 52.80)
CIE-LCHlch(80.81, 55.87, 109.08°)
OKLaboklab(82.83% -0.053 0.1238)
OKLCHoklch(82.83% 0.135 113.2)
XYZxyz(48.3146, 58.1365, 20.2292)
Luminance0.5814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D062 #6B62D0
analogous
#D0A262 #C7D062 #90D062
triadic
#C7D062 #62C7D0 #D062C7
tetradic
#C7D062 #62D0A2 #6B62D0 #D06290
square
#C7D062 #62D0A2 #6B62D0 #D06290
split-complementary
#C7D062 #6290D0 #A262D0
monochromatic
#858D2A #B2BC38 #C7D062 #D8DE91 #E9ECC0

Accessibility & contrast

On white

1.66
#C7D062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.63
#C7D062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D062
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D062#FFFFFF#000000##000000
##C7D0621.001.6612.6312.63
#FFFFFF1.661.0021.0021.00
#00000012.6321.001.001.00
##00000012.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC757
Deuteranopia (green-blind)
#DDCA68
Tritanopia (blue-blind)
#D2C5B7
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c7d062;
/* rgb */ color: rgb(199, 208, 98);
/* oklch */ color: oklch(82.8% 0.135 113.2);
Tailwind
colors: {
  custom: {
    50: '#dade92',
    500: '#c7d062',
    950: '#000000',
  },
}
SCSS
$custom: #c7d062;
$custom-light: #dade92;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d062",
  "rgb": {
    "r": 199,
    "g": 208,
    "b": 98
  },
  "hsl": {
    "h": 64.909,
    "s": 53.922,
    "l": 60
  },
  "oklch": {
    "l": 0.82827,
    "c": 0.13465,
    "h": 113.2
  },
  "luminance": 0.58136
}

Semantic roles & 50–950 ramp

primary
#C7D062
secondary
#494394
accent
#4BDD57
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C7D062

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

Preview Lab → · Contrast checker → · Palette generator →

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