#C7C82F#C7C82F

#C7C82F is a light, vivid yellow. Relative luminance 0.537; OKLCH L 80.7% C 0.163 H 109.9°. Best body text is #000000 at 11.73:1 contrast (WCAG AA passes).

Color values

HEX#C7C82F
RGBrgb(199, 200, 47)
HSLhsl(60, 62%, 48%)
HSVhsv(60, 77%, 78%)
CMYKcmyk(0.5%, 0%, 76.5%, 21.6%)
CIE-LABlab(78.26, -17.40, 70.26)
CIE-LCHlch(78.26, 72.38, 103.91°)
OKLaboklab(80.66% -0.0556 0.1533)
OKLCHoklch(80.66% 0.163 109.9)
XYZxyz(44.7222, 53.6572, 10.6898)
Luminance0.5366 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C82F #302FC8
analogous
#C87C2F #C7C82F #7AC82F
triadic
#C7C82F #2FC7C8 #C82FC7
tetradic
#C7C82F #2FC87C #302FC8 #C82F7A
square
#C7C82F #2FC87C #302FC8 #C82F7A
split-complementary
#C7C82F #2F7AC8 #7C2FC8
monochromatic
#646518 #969623 #C7C82F #D8D95C #E4E48D

Accessibility & contrast

On white

1.79
#C7C82F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.73
#C7C82F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C82F
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C82F#FFFFFF#000000##000000
##C7C82F1.001.7911.7311.73
#FFFFFF1.791.0021.0021.00
#00000011.7321.001.001.00
##00000011.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF00
Deuteranopia (green-blind)
#DAC43C
Tritanopia (blue-blind)
#D5BBAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c7c82f;
/* rgb */ color: rgb(199, 200, 47);
/* oklch */ color: oklch(80.7% 0.163 109.9);
Tailwind
colors: {
  custom: {
    50: '#dcd875',
    500: '#c7c82f',
    950: '#000000',
  },
}
SCSS
$custom: #c7c82f;
$custom-light: #dcd875;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c82f",
  "rgb": {
    "r": 199,
    "g": 200,
    "b": 47
  },
  "hsl": {
    "h": 60.392,
    "s": 61.943,
    "l": 48.431
  },
  "oklch": {
    "l": 0.80663,
    "c": 0.16308,
    "h": 109.9
  },
  "luminance": 0.53656
}

Semantic roles & 50–950 ramp

primary
#C7C82F
secondary
#2C2C6F
accent
#43E544
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C7C82F

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

Preview Lab → · Contrast checker → · Palette generator →

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