#A7B52B#A7B52B

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

Color values

HEX#A7B52B
RGBrgb(167, 181, 43)
HSLhsl(66, 62%, 44%)
HSVhsv(66, 76%, 71%)
CMYKcmyk(7.7%, 0%, 76.2%, 29%)
CIE-LABlab(70.48, -21.71, 63.46)
CIE-LCHlch(70.48, 67.07, 108.89°)
OKLaboklab(73.81% -0.0663 0.1393)
OKLCHoklch(73.81% 0.154 115.4)
XYZxyz(32.8972, 41.4382, 8.5504)
Luminance0.4144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B52B #392BB5
analogous
#B57E2B #A7B52B #62B52B
triadic
#A7B52B #2BA7B5 #B52BA7
tetradic
#A7B52B #2BB57E #392BB5 #B52B62
square
#A7B52B #2BB57E #392BB5 #B52B62
split-complementary
#A7B52B #2B62B5 #7E2BB5
monochromatic
#4C5214 #79841F #A7B52B #C6D449 #D5E07B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7B52B#FFFFFF#000000##000000
##A7B52B1.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)
#C2AC06
Deuteranopia (green-blind)
#C1AD37
Tritanopia (blue-blind)
#B2AA9B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a7b52b;
/* rgb */ color: rgb(167, 181, 43);
/* oklch */ color: oklch(73.8% 0.154 115.4);
Tailwind
colors: {
  custom: {
    50: '#c5cb70',
    500: '#a7b52b',
    950: '#000000',
  },
}
SCSS
$custom: #a7b52b;
$custom-light: #c5cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b52b",
  "rgb": {
    "r": 167,
    "g": 181,
    "b": 43
  },
  "hsl": {
    "h": 66.087,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.7381,
    "c": 0.15426,
    "h": 115.4
  },
  "luminance": 0.41438
}

Semantic roles & 50–950 ramp

primary
#A7B52B
secondary
#7D74C8
accent
#43E553
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7B52B

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

Preview Lab → · Contrast checker → · Palette generator →

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