#C7B72C#C7B72C

#C7B72C is a light, vivid yellow. Relative luminance 0.462; OKLCH L 77.0% C 0.149 H 102.4°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#C7B72C
RGBrgb(199, 183, 44)
HSLhsl(54, 64%, 48%)
HSVhsv(54, 78%, 78%)
CMYKcmyk(0%, 8%, 77.9%, 22%)
CIE-LABlab(73.67, -8.89, 67.03)
CIE-LCHlch(73.67, 67.62, 97.56°)
OKLaboklab(77% -0.0321 0.1458)
OKLCHoklch(77% 0.149 102.4)
XYZxyz(40.9432, 46.1928, 9.1418)
Luminance0.4619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7B72C #2C3CC7
analogous
#C7692C #C7B72C #8AC72C
triadic
#C7B72C #2CC7B7 #B72CC7
tetradic
#C7B72C #2CC769 #2C3CC7 #C72C8A
square
#C7B72C #2CC769 #2C3CC7 #C72C8A
split-complementary
#C7B72C #2C8AC7 #692CC7
monochromatic
#635B16 #958921 #C7B72C #DACC56 #E5DB89

Accessibility & contrast

On white

2.05
#C7B72C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#C7B72C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7B72C
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7B72C#FFFFFF#000000##000000
##C7B72C1.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B105
Deuteranopia (green-blind)
#CDB837
Tritanopia (blue-blind)
#D7AA9D
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #c7b72c;
/* rgb */ color: rgb(199, 183, 44);
/* oklch */ color: oklch(77.0% 0.149 102.4);
Tailwind
colors: {
  custom: {
    50: '#dccc71',
    500: '#c7b72c',
    950: '#000000',
  },
}
SCSS
$custom: #c7b72c;
$custom-light: #dccc71;
$custom-dark: #000000;
JSON
{
  "hex": "#c7b72c",
  "rgb": {
    "r": 199,
    "g": 183,
    "b": 44
  },
  "hsl": {
    "h": 53.806,
    "s": 63.786,
    "l": 47.647
  },
  "oklch": {
    "l": 0.76999,
    "c": 0.14933,
    "h": 102.4
  },
  "luminance": 0.46191
}

Semantic roles & 50–950 ramp

primary
#C7B72C
secondary
#8088CF
accent
#52E741
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161308
muted
#84827B

Preview Lab

Preview with #C7B72C

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

Preview Lab → · Contrast checker → · Palette generator →

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