#A7B52D#A7B52D

#A7B52D 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#A7B52D
RGBrgb(167, 181, 45)
HSLhsl(66, 60%, 44%)
HSVhsv(66, 75%, 71%)
CMYKcmyk(7.7%, 0%, 75.1%, 29%)
CIE-LABlab(70.49, -21.62, 62.82)
CIE-LCHlch(70.49, 66.44, 108.99°)
OKLaboklab(73.82% -0.0658 0.1383)
OKLCHoklch(73.82% 0.153 115.5)
XYZxyz(32.9348, 41.4532, 8.7484)
Luminance0.4145 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B52D #3B2DB5
analogous
#B57F2D #A7B52D #63B52D
triadic
#A7B52D #2DA7B5 #B52DA7
tetradic
#A7B52D #2DB57F #3B2DB5 #B52D63
square
#A7B52D #2DB57F #3B2DB5 #B52D63
split-complementary
#A7B52D #2D63B5 #7F2DB5
monochromatic
#4D5315 #7A8421 #A7B52D #C5D34D #D5DF7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7B52D#FFFFFF#000000##000000
##A7B52D1.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)
#C2AC0D
Deuteranopia (green-blind)
#C1AD39
Tritanopia (blue-blind)
#B2AA9B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a7b52d;
/* rgb */ color: rgb(167, 181, 45);
/* oklch */ color: oklch(73.8% 0.153 115.5);
Tailwind
colors: {
  custom: {
    50: '#c5cb71',
    500: '#a7b52d',
    950: '#000000',
  },
}
SCSS
$custom: #a7b52d;
$custom-light: #c5cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b52d",
  "rgb": {
    "r": 167,
    "g": 181,
    "b": 45
  },
  "hsl": {
    "h": 66.176,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.73822,
    "c": 0.15318,
    "h": 115.5
  },
  "luminance": 0.41453
}

Semantic roles & 50–950 ramp

primary
#A7B52D
secondary
#7F76C7
accent
#44E355
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7B52D

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

Preview Lab → · Contrast checker → · Palette generator →

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