#A7B732#A7B732

#A7B732 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.3% C 0.153 H 116.3°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#A7B732
RGBrgb(167, 183, 50)
HSLhsl(67, 57%, 46%)
HSVhsv(67, 73%, 72%)
CMYKcmyk(8.7%, 0%, 72.7%, 28.2%)
CIE-LABlab(71.09, -22.37, 61.69)
CIE-LCHlch(71.09, 65.62, 109.94°)
OKLaboklab(74.31% -0.0675 0.1368)
OKLCHoklch(74.31% 0.153 116.3)
XYZxyz(33.4464, 42.3132, 9.4223)
Luminance0.4231 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B732 #4232B7
analogous
#B78432 #A7B732 #64B732
triadic
#A7B732 #32A7B7 #B732A7
tetradic
#A7B732 #32B784 #4232B7 #B73264
square
#A7B732 #32B784 #4232B7 #B73264
split-complementary
#A7B732 #3264B7 #8432B7
monochromatic
#4F5718 #7B8725 #A7B732 #C2D156 #D3DE86

Accessibility & contrast

On white

2.22
#A7B732 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#A7B732 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B732
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B732#FFFFFF#000000##000000
##A7B7321.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD18
Deuteranopia (green-blind)
#C2AF3D
Tritanopia (blue-blind)
#B2AC9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a7b732;
/* rgb */ color: rgb(167, 183, 50);
/* oklch */ color: oklch(74.3% 0.153 116.3);
Tailwind
colors: {
  custom: {
    50: '#c4cc73',
    500: '#a7b732',
    950: '#000000',
  },
}
SCSS
$custom: #a7b732;
$custom-light: #c4cc73;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b732",
  "rgb": {
    "r": 167,
    "g": 183,
    "b": 50
  },
  "hsl": {
    "h": 67.218,
    "s": 57.082,
    "l": 45.686
  },
  "oklch": {
    "l": 0.74308,
    "c": 0.15252,
    "h": 116.3
  },
  "luminance": 0.42313
}

Semantic roles & 50–950 ramp

primary
#A7B732
secondary
#867DC7
accent
#47E05A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A7B732

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

Preview Lab → · Contrast checker → · Palette generator →

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