#A7B72F#A7B72F

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

Color values

HEX#A7B72F
RGBrgb(167, 183, 47)
HSLhsl(67, 59%, 45%)
HSVhsv(67, 74%, 72%)
CMYKcmyk(8.7%, 0%, 74.3%, 28.2%)
CIE-LABlab(71.07, -22.52, 62.70)
CIE-LCHlch(71.07, 66.62, 109.76°)
OKLaboklab(74.29% -0.0682 0.1384)
OKLCHoklch(74.29% 0.154 116.2)
XYZxyz(33.3838, 42.2882, 9.0926)
Luminance0.4229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B72F #3F2FB7
analogous
#B7832F #A7B72F #63B72F
triadic
#A7B72F #2FA7B7 #B72FA7
tetradic
#A7B72F #2FB783 #3F2FB7 #B72F63
square
#A7B72F #2FB783 #3F2FB7 #B72F63
split-complementary
#A7B72F #2F63B7 #832FB7
monochromatic
#4E5616 #7B8622 #A7B72F #C3D251 #D4DF82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7B72F#FFFFFF#000000##000000
##A7B72F1.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)
#C4AD11
Deuteranopia (green-blind)
#C3AF3B
Tritanopia (blue-blind)
#B2AC9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a7b72f;
/* rgb */ color: rgb(167, 183, 47);
/* oklch */ color: oklch(74.3% 0.154 116.2);
Tailwind
colors: {
  custom: {
    50: '#c5cc72',
    500: '#a7b72f',
    950: '#000000',
  },
}
SCSS
$custom: #a7b72f;
$custom-light: #c5cc72;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b72f",
  "rgb": {
    "r": 167,
    "g": 183,
    "b": 47
  },
  "hsl": {
    "h": 67.059,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.74289,
    "c": 0.15427,
    "h": 116.2
  },
  "luminance": 0.42288
}

Semantic roles & 50–950 ramp

primary
#A7B72F
secondary
#837AC8
accent
#45E258
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7B72F

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

Preview Lab → · Contrast checker → · Palette generator →

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