#C7D261#C7D261

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

Color values

HEX#C7D261
RGBrgb(199, 210, 97)
HSLhsl(66, 56%, 60%)
HSVhsv(66, 54%, 82%)
CMYKcmyk(5.2%, 0%, 53.8%, 17.6%)
CIE-LABlab(81.35, -19.34, 53.87)
CIE-LCHlch(81.35, 57.24, 109.74°)
OKLaboklab(83.25% -0.0562 0.126)
OKLCHoklch(83.25% 0.138 114)
XYZxyz(48.7584, 59.0992, 20.1457)
Luminance0.5910 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D261 #6C61D2
analogous
#D2A561 #C7D261 #8ED261
triadic
#C7D261 #61C7D2 #D261C7
tetradic
#C7D261 #61D2A5 #6C61D2 #D2618E
square
#C7D261 #61D2A5 #6C61D2 #D2618E
split-complementary
#C7D261 #618ED2 #A561D2
monochromatic
#869029 #B2BF36 #C7D261 #D8E091 #E9EDC0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7D261#FFFFFF#000000##000000
##C7D2611.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)
#DFC956
Deuteranopia (green-blind)
#DFCB67
Tritanopia (blue-blind)
#D2C7B9
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c7d261;
/* rgb */ color: rgb(199, 210, 97);
/* oklch */ color: oklch(83.2% 0.138 114.0);
Tailwind
colors: {
  custom: {
    50: '#dadf91',
    500: '#c7d261',
    950: '#000000',
  },
}
SCSS
$custom: #c7d261;
$custom-light: #dadf91;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d261",
  "rgb": {
    "r": 199,
    "g": 210,
    "b": 97
  },
  "hsl": {
    "h": 65.841,
    "s": 55.665,
    "l": 60.196
  },
  "oklch": {
    "l": 0.83249,
    "c": 0.13793,
    "h": 114
  },
  "luminance": 0.59098
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7D261

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

Preview Lab → · Contrast checker → · Palette generator →

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