#C7D672#C7D672

#C7D672 is a very light, vivid yellow. Relative luminance 0.615; OKLCH L 84.3% C 0.126 H 116.2°. Best body text is #000000 at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#C7D672
RGBrgb(199, 214, 114)
HSLhsl(69, 55%, 64%)
HSVhsv(69, 47%, 84%)
CMYKcmyk(7%, 0%, 46.7%, 16.1%)
CIE-LABlab(82.62, -19.75, 47.39)
CIE-LCHlch(82.62, 51.34, 112.63°)
OKLaboklab(84.33% -0.0557 0.1133)
OKLCHoklch(84.33% 0.126 116.2)
XYZxyz(50.6376, 61.4507, 25.1099)
Luminance0.6145 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D672 #8172D6
analogous
#D6B372 #C7D672 #95D672
triadic
#C7D672 #72C7D6 #D672C7
tetradic
#C7D672 #72D6B3 #8172D6 #D67295
square
#C7D672 #72D6B3 #8172D6 #D67295
split-complementary
#C7D672 #7295D6 #B372D6
monochromatic
#8E9F2E #B4C843 #C7D672 #DAE4A1 #EDF2D1

Accessibility & contrast

On white

1.58
#C7D672 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.29
#C7D672 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D672
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D672#FFFFFF#000000##000000
##C7D6721.001.5813.2913.29
#FFFFFF1.581.0021.0021.00
#00000013.2921.001.001.00
##00000013.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CD69
Deuteranopia (green-blind)
#E1CE77
Tritanopia (blue-blind)
#D1CCBF
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #c7d672;
/* rgb */ color: rgb(199, 214, 114);
/* oklch */ color: oklch(84.3% 0.126 116.2);
Tailwind
colors: {
  custom: {
    50: '#dae29c',
    500: '#c7d672',
    950: '#000000',
  },
}
SCSS
$custom: #c7d672;
$custom-light: #dae29c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d672",
  "rgb": {
    "r": 199,
    "g": 214,
    "b": 114
  },
  "hsl": {
    "h": 69,
    "s": 54.945,
    "l": 64.314
  },
  "oklch": {
    "l": 0.84329,
    "c": 0.12627,
    "h": 116.2
  },
  "luminance": 0.6145
}

Semantic roles & 50–950 ramp

primary
#C7D672
secondary
#5649A4
accent
#23C23B
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C7D672

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

Preview Lab → · Contrast checker → · Palette generator →

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