#C7D148#C7D148

#C7D148 is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 82.8% C 0.157 H 113.4°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#C7D148
RGBrgb(199, 209, 72)
HSLhsl(64, 60%, 55%)
HSVhsv(64, 66%, 82%)
CMYKcmyk(4.8%, 0%, 65.6%, 18%)
CIE-LABlab(80.86, -20.63, 64.02)
CIE-LCHlch(80.86, 67.26, 107.86°)
OKLaboklab(82.79% -0.0624 0.1443)
OKLCHoklch(82.79% 0.157 113.4)
XYZxyz(47.5246, 58.2119, 14.8621)
Luminance0.5821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D148 #5248D1
analogous
#D19748 #C7D148 #82D148
triadic
#C7D148 #48C7D1 #D148C7
tetradic
#C7D148 #48D197 #5248D1 #D14882
square
#C7D148 #48D197 #5248D1 #D14882
split-complementary
#C7D148 #4882D1 #9748D1
monochromatic
#787F20 #A6B02C #C7D148 #D6DD79 #E5EAAA

Accessibility & contrast

On white

1.66
#C7D148 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#C7D148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D148
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D148#FFFFFF#000000##000000
##C7D1481.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C735
Deuteranopia (green-blind)
#E0CA52
Tritanopia (blue-blind)
#D4C5B5
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #c7d148;
/* rgb */ color: rgb(199, 209, 72);
/* oklch */ color: oklch(82.8% 0.157 113.4);
Tailwind
colors: {
  custom: {
    50: '#dbde82',
    500: '#c7d148',
    950: '#000000',
  },
}
SCSS
$custom: #c7d148;
$custom-light: #dbde82;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d148",
  "rgb": {
    "r": 199,
    "g": 209,
    "b": 72
  },
  "hsl": {
    "h": 64.38,
    "s": 59.825,
    "l": 55.098
  },
  "oklch": {
    "l": 0.82787,
    "c": 0.15723,
    "h": 113.4
  },
  "luminance": 0.58211
}

Semantic roles & 50–950 ramp

primary
#C7D148
secondary
#3D3786
accent
#45E350
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7D148

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

Preview Lab → · Contrast checker → · Palette generator →

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