#A7B52C#A7B52C

#A7B52C 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#A7B52C
RGBrgb(167, 181, 44)
HSLhsl(66, 61%, 44%)
HSVhsv(66, 76%, 71%)
CMYKcmyk(7.7%, 0%, 75.7%, 29%)
CIE-LABlab(70.49, -21.67, 63.14)
CIE-LCHlch(70.49, 66.76, 108.94°)
OKLaboklab(73.82% -0.066 0.1388)
OKLCHoklch(73.82% 0.154 115.4)
XYZxyz(32.9158, 41.4456, 8.6482)
Luminance0.4144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B52C #3A2CB5
analogous
#B57F2C #A7B52C #63B52C
triadic
#A7B52C #2CA7B5 #B52CA7
tetradic
#A7B52C #2CB57F #3A2CB5 #B52C63
square
#A7B52C #2CB57F #3A2CB5 #B52C63
split-complementary
#A7B52C #2C63B5 #7F2CB5
monochromatic
#4C5314 #7A8420 #A7B52C #C5D34B #D5DF7C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7B52C#FFFFFF#000000##000000
##A7B52C1.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)
#C2AC09
Deuteranopia (green-blind)
#C1AD38
Tritanopia (blue-blind)
#B2AA9B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a7b52c;
/* rgb */ color: rgb(167, 181, 44);
/* oklch */ color: oklch(73.8% 0.154 115.4);
Tailwind
colors: {
  custom: {
    50: '#c5cb70',
    500: '#a7b52c',
    950: '#000000',
  },
}
SCSS
$custom: #a7b52c;
$custom-light: #c5cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b52c",
  "rgb": {
    "r": 167,
    "g": 181,
    "b": 44
  },
  "hsl": {
    "h": 66.131,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.73816,
    "c": 0.15372,
    "h": 115.4
  },
  "luminance": 0.41445
}

Semantic roles & 50–950 ramp

primary
#A7B52C
secondary
#7E75C8
accent
#44E454
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7B52C

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

Preview Lab → · Contrast checker → · Palette generator →

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