#C7D048#C7D048

#C7D048 is a very light, vivid yellow. Relative luminance 0.577; OKLCH L 82.6% C 0.156 H 113.0°. Best body text is #000000 at 12.54:1 contrast (WCAG AA passes).

Color values

HEX#C7D048
RGBrgb(199, 208, 72)
HSLhsl(64, 59%, 55%)
HSVhsv(64, 65%, 82%)
CMYKcmyk(4.3%, 0%, 65.4%, 18.4%)
CIE-LABlab(80.58, -20.14, 63.74)
CIE-LCHlch(80.58, 66.84, 107.54°)
OKLaboklab(82.57% -0.061 0.1438)
OKLCHoklch(82.57% 0.156 113)
XYZxyz(47.2801, 57.7227, 14.7806)
Luminance0.5772 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D048 #5148D0
analogous
#D09548 #C7D048 #83D048
triadic
#C7D048 #48C7D0 #D048C7
tetradic
#C7D048 #48D095 #5148D0 #D04883
square
#C7D048 #48D095 #5148D0 #D04883
split-complementary
#C7D048 #4883D0 #9548D0
monochromatic
#777D20 #A6AE2D #C7D048 #D6DD79 #E5E9A9

Accessibility & contrast

On white

1.67
#C7D048 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.54
#C7D048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D048
12.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D048#FFFFFF#000000##000000
##C7D0481.001.6712.5412.54
#FFFFFF1.671.0021.0021.00
#00000012.5421.001.001.00
##00000012.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC635
Deuteranopia (green-blind)
#DFC951
Tritanopia (blue-blind)
#D4C4B4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c7d048;
/* rgb */ color: rgb(199, 208, 72);
/* oklch */ color: oklch(82.6% 0.156 113.0);
Tailwind
colors: {
  custom: {
    50: '#dbde82',
    500: '#c7d048',
    950: '#000000',
  },
}
SCSS
$custom: #c7d048;
$custom-light: #dbde82;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d048",
  "rgb": {
    "r": 199,
    "g": 208,
    "b": 72
  },
  "hsl": {
    "h": 63.971,
    "s": 59.13,
    "l": 54.902
  },
  "oklch": {
    "l": 0.82569,
    "c": 0.15615,
    "h": 113
  },
  "luminance": 0.57722
}

Semantic roles & 50–950 ramp

primary
#C7D048
secondary
#3C3785
accent
#45E250
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7D048

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

Preview Lab → · Contrast checker → · Palette generator →

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