#A7B72E#A7B72E

#A7B72E 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.46:1 contrast (WCAG AA passes).

Color values

HEX#A7B72E
RGBrgb(167, 183, 46)
HSLhsl(67, 60%, 45%)
HSVhsv(67, 75%, 72%)
CMYKcmyk(8.7%, 0%, 74.9%, 28.2%)
CIE-LABlab(71.06, -22.57, 63.03)
CIE-LCHlch(71.06, 66.95, 109.70°)
OKLaboklab(74.28% -0.0684 0.1389)
OKLCHoklch(74.28% 0.155 116.2)
XYZxyz(33.3639, 42.2802, 8.9876)
Luminance0.4228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B72E #3E2EB7
analogous
#B7822E #A7B72E #63B72E
triadic
#A7B72E #2EA7B7 #B72EA7
tetradic
#A7B72E #2EB782 #3E2EB7 #B72E63
square
#A7B72E #2EB782 #3E2EB7 #B72E63
split-complementary
#A7B72E #2E63B7 #822EB7
monochromatic
#4E5515 #7A8622 #A7B72E #C3D34F #D4DF80

Accessibility & contrast

On white

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

On black

9.46
#A7B72E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B72E
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B72E#FFFFFF#000000##000000
##A7B72E1.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7b72e;
/* rgb */ color: rgb(167, 183, 46);
/* oklch */ color: oklch(74.3% 0.155 116.2);
Tailwind
colors: {
  custom: {
    50: '#c5cc71',
    500: '#a7b72e',
    950: '#000000',
  },
}
SCSS
$custom: #a7b72e;
$custom-light: #c5cc71;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b72e",
  "rgb": {
    "r": 167,
    "g": 183,
    "b": 46
  },
  "hsl": {
    "h": 67.007,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.74283,
    "c": 0.15483,
    "h": 116.2
  },
  "luminance": 0.4228
}

Semantic roles & 50–950 ramp

primary
#A7B72E
secondary
#8279C8
accent
#45E357
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7B72E

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

Preview Lab → · Contrast checker → · Palette generator →

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