#C7B62C#C7B62C

#C7B62C is a light, vivid yellow. Relative luminance 0.458; OKLCH L 76.8% C 0.149 H 101.9°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#C7B62C
RGBrgb(199, 182, 44)
HSLhsl(53, 64%, 48%)
HSVhsv(53, 78%, 78%)
CMYKcmyk(0%, 8.5%, 77.9%, 22%)
CIE-LABlab(73.40, -8.38, 66.79)
CIE-LCHlch(73.40, 67.31, 97.15°)
OKLaboklab(76.79% -0.0306 0.1453)
OKLCHoklch(76.79% 0.149 101.9)
XYZxyz(40.7377, 45.7817, 9.0733)
Luminance0.4578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B62C #2C3DC7
analogous
#C7682C #C7B62C #8BC72C
triadic
#C7B62C #2CC7B6 #B62CC7
tetradic
#C7B62C #2CC768 #2C3DC7 #C72C8B
square
#C7B62C #2CC768 #2C3DC7 #C72C8B
split-complementary
#C7B62C #2C8BC7 #682CC7
monochromatic
#635A16 #958821 #C7B62C #DACB56 #E5DB89

Accessibility & contrast

On white

2.07
#C7B62C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#C7B62C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B62C
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B62C#FFFFFF#000000##000000
##C7B62C1.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B006
Deuteranopia (green-blind)
#CCB737
Tritanopia (blue-blind)
#D7A99C
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #c7b62c;
/* rgb */ color: rgb(199, 182, 44);
/* oklch */ color: oklch(76.8% 0.149 101.9);
Tailwind
colors: {
  custom: {
    50: '#dccb71',
    500: '#c7b62c',
    950: '#000000',
  },
}
SCSS
$custom: #c7b62c;
$custom-light: #dccb71;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b62c",
  "rgb": {
    "r": 199,
    "g": 182,
    "b": 44
  },
  "hsl": {
    "h": 53.419,
    "s": 63.786,
    "l": 47.647
  },
  "oklch": {
    "l": 0.76787,
    "c": 0.14852,
    "h": 101.9
  },
  "luminance": 0.4578
}

Semantic roles & 50–950 ramp

primary
#C7B62C
secondary
#8089CF
accent
#53E741
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161308
muted
#84827B

Preview Lab

Preview with #C7B62C

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

Preview Lab → · Contrast checker → · Palette generator →

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