#C7D348#C7D348

#C7D348 is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.2% C 0.159 H 114.1°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#C7D348
RGBrgb(199, 211, 72)
HSLhsl(65, 61%, 55%)
HSVhsv(65, 66%, 83%)
CMYKcmyk(5.7%, 0%, 65.9%, 17.3%)
CIE-LABlab(81.40, -21.61, 64.58)
CIE-LCHlch(81.40, 68.10, 108.50°)
OKLaboklab(83.22% -0.0651 0.1455)
OKLCHoklch(83.22% 0.159 114.1)
XYZxyz(48.0184, 59.1994, 15.0267)
Luminance0.5920 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D348 #5448D3
analogous
#D39948 #C7D348 #81D348
triadic
#C7D348 #48C7D3 #D348C7
tetradic
#C7D348 #48D399 #5448D3 #D34881
square
#C7D348 #48D399 #5448D3 #D34881
split-complementary
#C7D348 #4881D3 #9948D3
monochromatic
#79811F #A7B32B #C7D348 #D6DF79 #E5EBAB

Accessibility & contrast

On white

1.64
#C7D348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.84
#C7D348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D348
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D348#FFFFFF#000000##000000
##C7D3481.001.6412.8412.84
#FFFFFF1.641.0021.0021.00
#00000012.8421.001.001.00
##00000012.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2C934
Deuteranopia (green-blind)
#E1CC52
Tritanopia (blue-blind)
#D4C7B7
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #c7d348;
/* rgb */ color: rgb(199, 211, 72);
/* oklch */ color: oklch(83.2% 0.159 114.1);
Tailwind
colors: {
  custom: {
    50: '#dbe082',
    500: '#c7d348',
    950: '#000000',
  },
}
SCSS
$custom: #c7d348;
$custom-light: #dbe082;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d348",
  "rgb": {
    "r": 199,
    "g": 211,
    "b": 72
  },
  "hsl": {
    "h": 65.18,
    "s": 61.233,
    "l": 55.49
  },
  "oklch": {
    "l": 0.83223,
    "c": 0.15942,
    "h": 114.1
  },
  "luminance": 0.59199
}

Semantic roles & 50–950 ramp

primary
#C7D348
secondary
#3E3789
accent
#43E451
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7D348

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

Preview Lab → · Contrast checker → · Palette generator →

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