#A7B92A#A7B92A

#A7B92A is a light, vivid yellow. Relative luminance 0.431; OKLCH L 74.7% C 0.159 H 116.9°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#A7B92A
RGBrgb(167, 185, 42)
HSLhsl(68, 63%, 45%)
HSVhsv(68, 77%, 73%)
CMYKcmyk(9.7%, 0%, 77.3%, 27.5%)
CIE-LABlab(71.61, -23.73, 64.81)
CIE-LCHlch(71.61, 69.02, 110.11°)
OKLaboklab(74.72% -0.0719 0.142)
OKLCHoklch(74.72% 0.159 116.9)
XYZxyz(33.7041, 43.0810, 8.7300)
Luminance0.4308 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B92A #3C2AB9
analogous
#B9832A #A7B92A #60B92A
triadic
#A7B92A #2AA7B9 #B92AA7
tetradic
#A7B92A #2AB983 #3C2AB9 #B92A60
square
#A7B92A #2AB983 #3C2AB9 #B92A60
split-complementary
#A7B92A #2A60B9 #832AB9
monochromatic
#4D5513 #7A871F #A7B92A #C4D64A #D5E17C

Accessibility & contrast

On white

2.18
#A7B92A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#A7B92A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B92A
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B92A#FFFFFF#000000##000000
##A7B92A1.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C4B037
Tritanopia (blue-blind)
#B2AE9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a7b92a;
/* rgb */ color: rgb(167, 185, 42);
/* oklch */ color: oklch(74.7% 0.159 116.9);
Tailwind
colors: {
  custom: {
    50: '#c5cd70',
    500: '#a7b92a',
    950: '#000000',
  },
}
SCSS
$custom: #a7b92a;
$custom-light: #c5cd70;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b92a",
  "rgb": {
    "r": 167,
    "g": 185,
    "b": 42
  },
  "hsl": {
    "h": 67.552,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.74715,
    "c": 0.15917,
    "h": 116.9
  },
  "luminance": 0.43081
}

Semantic roles & 50–950 ramp

primary
#A7B92A
secondary
#8075CA
accent
#42E656
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7B92A

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

Preview Lab → · Contrast checker → · Palette generator →

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