#A7B72D#A7B72D

#A7B72D is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.3% C 0.155 H 116.2°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#A7B72D
RGBrgb(167, 183, 45)
HSLhsl(67, 61%, 45%)
HSVhsv(67, 75%, 72%)
CMYKcmyk(8.7%, 0%, 75.4%, 28.2%)
CIE-LABlab(71.06, -22.61, 63.35)
CIE-LCHlch(71.06, 67.27, 109.64°)
OKLaboklab(74.28% -0.0686 0.1394)
OKLCHoklch(74.28% 0.155 116.2)
XYZxyz(33.3444, 42.2724, 8.8849)
Luminance0.4227 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B72D #3D2DB7
analogous
#B7822D #A7B72D #62B72D
triadic
#A7B72D #2DA7B7 #B72DA7
tetradic
#A7B72D #2DB782 #3D2DB7 #B72D62
square
#A7B72D #2DB782 #3D2DB7 #B72D62
split-complementary
#A7B72D #2D62B7 #822DB7
monochromatic
#4D5515 #7A8621 #A7B72D #C4D34E #D4DF7F

Accessibility & contrast

On white

2.22
#A7B72D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#A7B72D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B72D
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B72D#FFFFFF#000000##000000
##A7B72D1.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD0B
Deuteranopia (green-blind)
#C3AF39
Tritanopia (blue-blind)
#B2AC9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a7b72d;
/* rgb */ color: rgb(167, 183, 45);
/* oklch */ color: oklch(74.3% 0.155 116.2);
Tailwind
colors: {
  custom: {
    50: '#c5cc71',
    500: '#a7b72d',
    950: '#000000',
  },
}
SCSS
$custom: #a7b72d;
$custom-light: #c5cc71;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b72d",
  "rgb": {
    "r": 167,
    "g": 183,
    "b": 45
  },
  "hsl": {
    "h": 66.957,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.74277,
    "c": 0.15538,
    "h": 116.2
  },
  "luminance": 0.42272
}

Semantic roles & 50–950 ramp

primary
#A7B72D
secondary
#8178C8
accent
#44E457
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7B72D

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

Preview Lab → · Contrast checker → · Palette generator →

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