#C7C843#C7C843

#C7C843 is a light, vivid yellow. Relative luminance 0.539; OKLCH L 80.8% C 0.151 H 109.8°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#C7C843
RGBrgb(199, 200, 67)
HSLhsl(60, 55%, 52%)
HSVhsv(60, 67%, 78%)
CMYKcmyk(0.5%, 0%, 66.5%, 21.6%)
CIE-LABlab(78.38, -16.47, 63.43)
CIE-LCHlch(78.38, 65.53, 104.55°)
OKLaboklab(80.79% -0.0512 0.1423)
OKLCHoklch(80.79% 0.151 109.8)
XYZxyz(45.2221, 53.8572, 13.3224)
Luminance0.5386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C843 #4443C8
analogous
#C88643 #C7C843 #85C843
triadic
#C7C843 #43C7C8 #C843C7
tetradic
#C7C843 #43C886 #4443C8 #C84385
square
#C7C843 #43C886 #4443C8 #C84385
split-complementary
#C7C843 #4385C8 #8643C8
monochromatic
#6F7021 #9E9F2F #C7C843 #D5D672 #E3E4A2

Accessibility & contrast

On white

1.78
#C7C843 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.77
#C7C843 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C843
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C843#FFFFFF#000000##000000
##C7C8431.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C030
Deuteranopia (green-blind)
#D9C44C
Tritanopia (blue-blind)
#D5BCAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c7c843;
/* rgb */ color: rgb(199, 200, 67);
/* oklch */ color: oklch(80.8% 0.151 109.8);
Tailwind
colors: {
  custom: {
    50: '#dbd87f',
    500: '#c7c843',
    950: '#000000',
  },
}
SCSS
$custom: #c7c843;
$custom-light: #dbd87f;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c843",
  "rgb": {
    "r": 199,
    "g": 200,
    "b": 67
  },
  "hsl": {
    "h": 60.451,
    "s": 54.733,
    "l": 52.353
  },
  "oklch": {
    "l": 0.80794,
    "c": 0.15125,
    "h": 109.8
  },
  "luminance": 0.53856
}

Semantic roles & 50–950 ramp

primary
#C7C843
secondary
#373679
accent
#4ADE4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7C843

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

Preview Lab → · Contrast checker → · Palette generator →

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