#C7D362#C7D362

#C7D362 is a very light, vivid yellow. Relative luminance 0.596; OKLCH L 83.5% C 0.138 H 114.5°. Best body text is #000000 at 12.92:1 contrast (WCAG AA passes).

Color values

HEX#C7D362
RGBrgb(199, 211, 98)
HSLhsl(66, 56%, 61%)
HSVhsv(66, 54%, 83%)
CMYKcmyk(5.7%, 0%, 53.6%, 17.3%)
CIE-LABlab(81.63, -19.75, 53.74)
CIE-LCHlch(81.63, 57.25, 110.17°)
OKLaboklab(83.48% -0.0572 0.1258)
OKLCHoklch(83.48% 0.138 114.5)
XYZxyz(49.0530, 59.6132, 20.4753)
Luminance0.5961 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D362 #6E62D3
analogous
#D3A762 #C7D362 #8ED362
triadic
#C7D362 #62C7D3 #D362C7
tetradic
#C7D362 #62D3A7 #6E62D3 #D3628E
square
#C7D362 #62D3A7 #6E62D3 #D3628E
split-complementary
#C7D362 #628ED3 #A762D3
monochromatic
#879229 #B3C236 #C7D362 #D8E092 #E9EEC2

Accessibility & contrast

On white

1.63
#C7D362 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.92
#C7D362 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D362
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D362#FFFFFF#000000##000000
##C7D3621.001.6312.9212.92
#FFFFFF1.631.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0CA57
Deuteranopia (green-blind)
#E0CC68
Tritanopia (blue-blind)
#D2C8BA
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #c7d362;
/* rgb */ color: rgb(199, 211, 98);
/* oklch */ color: oklch(83.5% 0.138 114.5);
Tailwind
colors: {
  custom: {
    50: '#dae092',
    500: '#c7d362',
    950: '#000000',
  },
}
SCSS
$custom: #c7d362;
$custom-light: #dae092;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d362",
  "rgb": {
    "r": 199,
    "g": 211,
    "b": 98
  },
  "hsl": {
    "h": 66.372,
    "s": 56.219,
    "l": 60.588
  },
  "oklch": {
    "l": 0.83477,
    "c": 0.1382,
    "h": 114.5
  },
  "luminance": 0.59612
}

Semantic roles & 50–950 ramp

primary
#C7D362
secondary
#4B4297
accent
#22C433
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C7D362

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

Preview Lab → · Contrast checker → · Palette generator →

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