#C7D548#C7D548

#C7D548 is a very light, vivid yellow. Relative luminance 0.602; OKLCH L 83.7% C 0.162 H 114.8°. Best body text is #000000 at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#C7D548
RGBrgb(199, 213, 72)
HSLhsl(66, 63%, 56%)
HSVhsv(66, 66%, 84%)
CMYKcmyk(6.6%, 0%, 66.2%, 16.5%)
CIE-LABlab(81.95, -22.58, 65.14)
CIE-LCHlch(81.95, 68.94, 109.12°)
OKLaboklab(83.66% -0.0678 0.1467)
OKLCHoklch(83.66% 0.162 114.8)
XYZxyz(48.5184, 60.1993, 15.1934)
Luminance0.6020 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D548 #5648D5
analogous
#D59C48 #C7D548 #80D548
triadic
#C7D548 #48C7D5 #D548C7
tetradic
#C7D548 #48D59C #5648D5 #D54880
square
#C7D548 #48D59C #5648D5 #D54880
split-complementary
#C7D548 #4880D5 #9C48D5
monochromatic
#7A841E #A8B62A #C7D548 #D6E07A #E5ECAC

Accessibility & contrast

On white

1.61
#C7D548 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.04
#C7D548 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D548
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D548#FFFFFF#000000##000000
##C7D5481.001.6113.0413.04
#FFFFFF1.611.0021.0021.00
#00000013.0421.001.001.00
##00000013.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CB34
Deuteranopia (green-blind)
#E3CD52
Tritanopia (blue-blind)
#D3C9B9
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #c7d548;
/* rgb */ color: rgb(199, 213, 72);
/* oklch */ color: oklch(83.7% 0.162 114.8);
Tailwind
colors: {
  custom: {
    50: '#dbe182',
    500: '#c7d548',
    950: '#000000',
  },
}
SCSS
$custom: #c7d548;
$custom-light: #dbe182;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d548",
  "rgb": {
    "r": 199,
    "g": 213,
    "b": 72
  },
  "hsl": {
    "h": 65.957,
    "s": 62.667,
    "l": 55.882
  },
  "oklch": {
    "l": 0.8366,
    "c": 0.16162,
    "h": 114.8
  },
  "luminance": 0.60198
}

Semantic roles & 50–950 ramp

primary
#C7D548
secondary
#3F368B
accent
#42E652
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7D548

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

Preview Lab → · Contrast checker → · Palette generator →

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