#C7C62B#C7C62B

#C7C62B is a light, vivid yellow. Relative luminance 0.527; OKLCH L 80.2% C 0.163 H 109.2°. Best body text is #000000 at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#C7C62B
RGBrgb(199, 198, 43)
HSLhsl(60, 64%, 47%)
HSVhsv(60, 78%, 78%)
CMYKcmyk(0%, 0.5%, 78.4%, 22%)
CIE-LABlab(77.70, -16.55, 70.93)
CIE-LCHlch(77.70, 72.83, 103.14°)
OKLaboklab(80.21% -0.0536 0.154)
OKLCHoklch(80.21% 0.163 109.2)
XYZxyz(44.1850, 52.7061, 10.1308)
Luminance0.5271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C62B #2B2CC7
analogous
#C7782B #C7C62B #7AC72B
triadic
#C7C62B #2BC7C6 #C62BC7
tetradic
#C7C62B #2BC778 #2B2CC7 #C72B7A
square
#C7C62B #2BC778 #2B2CC7 #C72B7A
split-complementary
#C7C62B #2B7AC7 #782BC7
monochromatic
#626215 #959420 #C7C62B #DAD955 #E5E587

Accessibility & contrast

On white

1.82
#C7C62B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.54
#C7C62B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C62B
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C62B#FFFFFF#000000##000000
##C7C62B1.001.8211.5411.54
#FFFFFF1.821.0021.0021.00
#00000011.5421.001.001.00
##00000011.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BD00
Deuteranopia (green-blind)
#D9C239
Tritanopia (blue-blind)
#D6B9AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c7c62b;
/* rgb */ color: rgb(199, 198, 43);
/* oklch */ color: oklch(80.2% 0.163 109.2);
Tailwind
colors: {
  custom: {
    50: '#dcd773',
    500: '#c7c62b',
    950: '#000000',
  },
}
SCSS
$custom: #c7c62b;
$custom-light: #dcd773;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c62b",
  "rgb": {
    "r": 199,
    "g": 198,
    "b": 43
  },
  "hsl": {
    "h": 59.615,
    "s": 64.463,
    "l": 47.451
  },
  "oklch": {
    "l": 0.8021,
    "c": 0.16306,
    "h": 109.2
  },
  "luminance": 0.52705
}

Semantic roles & 50–950 ramp

primary
#C7C62B
secondary
#292A6D
accent
#41E740
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C7C62B

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

Preview Lab → · Contrast checker → · Palette generator →

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