#A7B52E#A7B52E

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

Color values

HEX#A7B52E
RGBrgb(167, 181, 46)
HSLhsl(66, 59%, 45%)
HSVhsv(66, 75%, 71%)
CMYKcmyk(7.7%, 0%, 74.6%, 29%)
CIE-LABlab(70.50, -21.58, 62.50)
CIE-LCHlch(70.50, 66.12, 109.05°)
OKLaboklab(73.83% -0.0656 0.1378)
OKLCHoklch(73.83% 0.153 115.5)
XYZxyz(32.9543, 41.4610, 8.8510)
Luminance0.4146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B52E #3C2EB5
analogous
#B57F2E #A7B52E #64B52E
triadic
#A7B52E #2EA7B5 #B52EA7
tetradic
#A7B52E #2EB57F #3C2EB5 #B52E64
square
#A7B52E #2EB57F #3C2EB5 #B52E64
split-complementary
#A7B52E #2E64B5 #7F2EB5
monochromatic
#4D5315 #7A8422 #A7B52E #C4D24E #D5DE7F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7B52E#FFFFFF#000000##000000
##A7B52E1.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)
#C2AC10
Deuteranopia (green-blind)
#C1AD3A
Tritanopia (blue-blind)
#B2AA9B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a7b52e;
/* rgb */ color: rgb(167, 181, 46);
/* oklch */ color: oklch(73.8% 0.153 115.5);
Tailwind
colors: {
  custom: {
    50: '#c5cb71',
    500: '#a7b52e',
    950: '#000000',
  },
}
SCSS
$custom: #a7b52e;
$custom-light: #c5cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b52e",
  "rgb": {
    "r": 167,
    "g": 181,
    "b": 46
  },
  "hsl": {
    "h": 66.222,
    "s": 59.471,
    "l": 44.51
  },
  "oklch": {
    "l": 0.73828,
    "c": 0.15262,
    "h": 115.5
  },
  "luminance": 0.4146
}

Semantic roles & 50–950 ramp

primary
#A7B52E
secondary
#8078C7
accent
#45E355
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7B52E

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

Preview Lab → · Contrast checker → · Palette generator →

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