#C7D262#C7D262

#C7D262 is a very light, vivid yellow. Relative luminance 0.591; OKLCH L 83.3% C 0.137 H 114.1°. Best body text is #000000 at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#C7D262
RGBrgb(199, 210, 98)
HSLhsl(66, 55%, 60%)
HSVhsv(66, 53%, 82%)
CMYKcmyk(5.2%, 0%, 53.3%, 17.6%)
CIE-LABlab(81.36, -19.25, 53.43)
CIE-LCHlch(81.36, 56.79, 109.82°)
OKLaboklab(83.26% -0.0558 0.1251)
OKLCHoklch(83.26% 0.137 114.1)
XYZxyz(48.8053, 59.1179, 20.3928)
Luminance0.5912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D262 #6D62D2
analogous
#D2A562 #C7D262 #8FD262
triadic
#C7D262 #62C7D2 #D262C7
tetradic
#C7D262 #62D2A5 #6D62D2 #D2628F
square
#C7D262 #62D2A5 #6D62D2 #D2628F
split-complementary
#C7D262 #628FD2 #A562D2
monochromatic
#869029 #B2C037 #C7D262 #D8E092 #E9EDC1

Accessibility & contrast

On white

1.64
#C7D262 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.82
#C7D262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D262
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D262#FFFFFF#000000##000000
##C7D2621.001.6412.8212.82
#FFFFFF1.641.0021.0021.00
#00000012.8221.001.001.00
##00000012.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC957
Deuteranopia (green-blind)
#DFCB68
Tritanopia (blue-blind)
#D2C7B9
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c7d262;
/* rgb */ color: rgb(199, 210, 98);
/* oklch */ color: oklch(83.3% 0.137 114.1);
Tailwind
colors: {
  custom: {
    50: '#dadf92',
    500: '#c7d262',
    950: '#000000',
  },
}
SCSS
$custom: #c7d262;
$custom-light: #dadf92;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d262",
  "rgb": {
    "r": 199,
    "g": 210,
    "b": 98
  },
  "hsl": {
    "h": 65.893,
    "s": 55.446,
    "l": 60.392
  },
  "oklch": {
    "l": 0.8326,
    "c": 0.13701,
    "h": 114.1
  },
  "luminance": 0.59117
}

Semantic roles & 50–950 ramp

primary
#C7D262
secondary
#4A4296
accent
#23C332
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#15150D
muted
#84847F

Preview Lab

Preview with #C7D262

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

Preview Lab → · Contrast checker → · Palette generator →

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