#A7B52F#A7B52F

#A7B52F is a light, vivid yellow. Relative luminance 0.415; OKLCH L 73.8% C 0.152 H 115.5°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#A7B52F
RGBrgb(167, 181, 47)
HSLhsl(66, 59%, 45%)
HSVhsv(66, 74%, 71%)
CMYKcmyk(7.7%, 0%, 74%, 29%)
CIE-LABlab(70.50, -21.53, 62.16)
CIE-LCHlch(70.50, 65.79, 109.10°)
OKLaboklab(73.83% -0.0654 0.1373)
OKLCHoklch(73.83% 0.152 115.5)
XYZxyz(32.9742, 41.4690, 8.9560)
Luminance0.4147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B52F #3D2FB5
analogous
#B5802F #A7B52F #64B52F
triadic
#A7B52F #2FA7B5 #B52FA7
tetradic
#A7B52F #2FB580 #3D2FB5 #B52F64
square
#A7B52F #2FB580 #3D2FB5 #B52F64
split-complementary
#A7B52F #2F64B5 #802FB5
monochromatic
#4D5416 #7A8422 #A7B52F #C4D150 #D4DE80

Accessibility & contrast

On white

2.26
#A7B52F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#A7B52F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B52F
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B52F#FFFFFF#000000##000000
##A7B52F1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC12
Deuteranopia (green-blind)
#C1AD3A
Tritanopia (blue-blind)
#B2AA9B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a7b52f;
/* rgb */ color: rgb(167, 181, 47);
/* oklch */ color: oklch(73.8% 0.152 115.5);
Tailwind
colors: {
  custom: {
    50: '#c5cb72',
    500: '#a7b52f',
    950: '#000000',
  },
}
SCSS
$custom: #a7b52f;
$custom-light: #c5cb72;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b52f",
  "rgb": {
    "r": 167,
    "g": 181,
    "b": 47
  },
  "hsl": {
    "h": 66.269,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.73834,
    "c": 0.15206,
    "h": 115.5
  },
  "luminance": 0.41468
}

Semantic roles & 50–950 ramp

primary
#A7B52F
secondary
#8179C7
accent
#46E256
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7B52F

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

Preview Lab → · Contrast checker → · Palette generator →

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