#C7D843#C7D843

#C7D843 is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 84.3% C 0.168 H 115.8°. Best body text is #000000 at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#C7D843
RGBrgb(199, 216, 67)
HSLhsl(67, 66%, 55%)
HSVhsv(67, 69%, 85%)
CMYKcmyk(7.9%, 0%, 69%, 15.3%)
CIE-LABlab(82.73, -24.32, 67.81)
CIE-LCHlch(82.73, 72.03, 109.73°)
OKLaboklab(84.28% -0.0731 0.1515)
OKLCHoklch(84.28% 0.168 115.8)
XYZxyz(49.1234, 61.6598, 14.6229)
Luminance0.6166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7D843 #5443D8
analogous
#D89F43 #C7D843 #7CD843
triadic
#C7D843 #43C7D8 #D843C7
tetradic
#C7D843 #43D89F #5443D8 #D8437C
square
#C7D843 #43D89F #5443D8 #D8437C
split-complementary
#C7D843 #437CD8 #9F43D8
monochromatic
#79851C #A7B826 #C7D843 #D6E376 #E5EDA8

Accessibility & contrast

On white

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

On black

13.33
#C7D843 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7D843
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7D843#FFFFFF#000000##000000
##C7D8431.001.5813.3313.33
#FFFFFF1.581.0021.0021.00
#00000013.3321.001.001.00
##00000013.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7CD2B
Deuteranopia (green-blind)
#E6CF4E
Tritanopia (blue-blind)
#D3CCBB
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #c7d843;
/* rgb */ color: rgb(199, 216, 67);
/* oklch */ color: oklch(84.3% 0.168 115.8);
Tailwind
colors: {
  custom: {
    50: '#dbe380',
    500: '#c7d843',
    950: '#000000',
  },
}
SCSS
$custom: #c7d843;
$custom-light: #dbe380;
$custom-dark: #000000;
JSON
{
  "hex": "#c7d843",
  "rgb": {
    "r": 199,
    "g": 216,
    "b": 67
  },
  "hsl": {
    "h": 66.846,
    "s": 65.639,
    "l": 55.49
  },
  "oklch": {
    "l": 0.8428,
    "c": 0.16826,
    "h": 115.8
  },
  "luminance": 0.61659
}

Semantic roles & 50–950 ramp

primary
#C7D843
secondary
#3E348C
accent
#3FE953
background
#FEFEFB
surface
#FCFCF2
border
#D5D5CC
text
#15150B
muted
#84847E

Preview Lab

Preview with #C7D843

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

Preview Lab → · Contrast checker → · Palette generator →

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