#C7D248#C7D248

#C7D248 is a very light, vivid yellow. Relative luminance 0.587; OKLCH L 83.0% C 0.158 H 113.7°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#C7D248
RGBrgb(199, 210, 72)
HSLhsl(65, 61%, 55%)
HSVhsv(65, 66%, 82%)
CMYKcmyk(5.2%, 0%, 65.7%, 17.6%)
CIE-LABlab(81.13, -21.12, 64.30)
CIE-LCHlch(81.13, 67.68, 108.18°)
OKLaboklab(83.01% -0.0637 0.1449)
OKLCHoklch(83.01% 0.158 113.7)
XYZxyz(47.7708, 58.7041, 14.9442)
Luminance0.5870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D248 #5348D2
analogous
#D29848 #C7D248 #82D248
triadic
#C7D248 #48C7D2 #D248C7
tetradic
#C7D248 #48D298 #5348D2 #D24882
square
#C7D248 #48D298 #5348D2 #D24882
split-complementary
#C7D248 #4882D2 #9848D2
monochromatic
#788020 #A7B12C #C7D248 #D6DE79 #E5EAAA

Accessibility & contrast

On white

1.65
#C7D248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.74
#C7D248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D248
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D248#FFFFFF#000000##000000
##C7D2481.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E1C834
Deuteranopia (green-blind)
#E1CB52
Tritanopia (blue-blind)
#D4C6B6
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c7d248;
/* rgb */ color: rgb(199, 210, 72);
/* oklch */ color: oklch(83.0% 0.158 113.7);
Tailwind
colors: {
  custom: {
    50: '#dbdf82',
    500: '#c7d248',
    950: '#000000',
  },
}
SCSS
$custom: #c7d248;
$custom-light: #dbdf82;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d248",
  "rgb": {
    "r": 199,
    "g": 210,
    "b": 72
  },
  "hsl": {
    "h": 64.783,
    "s": 60.526,
    "l": 55.294
  },
  "oklch": {
    "l": 0.83005,
    "c": 0.15832,
    "h": 113.7
  },
  "luminance": 0.58703
}

Semantic roles & 50–950 ramp

primary
#C7D248
secondary
#3D3787
accent
#44E451
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7D248

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

Preview Lab → · Contrast checker → · Palette generator →

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