#C7D268#C7D268

#C7D268 is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.3% C 0.131 H 114.2°. Best body text is #000000 at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#C7D268
RGBrgb(199, 210, 104)
HSLhsl(66, 54%, 62%)
HSVhsv(66, 50%, 82%)
CMYKcmyk(5.2%, 0%, 50.5%, 17.6%)
CIE-LABlab(81.42, -18.73, 50.71)
CIE-LCHlch(81.42, 54.06, 110.27°)
OKLaboklab(83.33% -0.0538 0.1198)
OKLCHoklch(83.33% 0.131 114.2)
XYZxyz(49.0993, 59.2355, 21.9411)
Luminance0.5924 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D268 #7368D2
analogous
#D2A868 #C7D268 #92D268
triadic
#C7D268 #68C7D2 #D268C7
tetradic
#C7D268 #68D2A8 #7368D2 #D26892
square
#C7D268 #68D2A8 #7368D2 #D26892
split-complementary
#C7D268 #6892D2 #A868D2
monochromatic
#89942C #B5C33A #C7D268 #D8E097 #EAEEC6

Accessibility & contrast

On white

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

On black

12.85
#C7D268 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D268
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D268#FFFFFF#000000##000000
##C7D2681.001.6312.8512.85
#FFFFFF1.631.0021.0021.00
#00000012.8521.001.001.00
##00000012.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC95E
Deuteranopia (green-blind)
#DECB6E
Tritanopia (blue-blind)
#D2C8BA
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c7d268;
/* rgb */ color: rgb(199, 210, 104);
/* oklch */ color: oklch(83.3% 0.131 114.2);
Tailwind
colors: {
  custom: {
    50: '#dadf96',
    500: '#c7d268',
    950: '#000000',
  },
}
SCSS
$custom: #c7d268;
$custom-light: #dadf96;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d268",
  "rgb": {
    "r": 199,
    "g": 210,
    "b": 104
  },
  "hsl": {
    "h": 66.226,
    "s": 54.082,
    "l": 61.569
  },
  "oklch": {
    "l": 0.83333,
    "c": 0.13131,
    "h": 114.2
  },
  "luminance": 0.59235
}

Semantic roles & 50–950 ramp

primary
#C7D268
secondary
#4E4599
accent
#24C234
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150D
muted
#84847F

Preview Lab

Preview with #C7D268

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

Preview Lab → · Contrast checker → · Palette generator →

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