#A7B92F#A7B92F

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

Color values

HEX#A7B92F
RGBrgb(167, 185, 47)
HSLhsl(68, 59%, 45%)
HSVhsv(68, 75%, 73%)
CMYKcmyk(9.7%, 0%, 74.6%, 27.5%)
CIE-LABlab(71.64, -23.50, 63.24)
CIE-LCHlch(71.64, 67.46, 110.39°)
OKLaboklab(74.74% -0.0709 0.1395)
OKLCHoklch(74.74% 0.157 116.9)
XYZxyz(33.7992, 43.1191, 9.2311)
Luminance0.4312 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B92F #412FB9
analogous
#B9862F #A7B92F #62B92F
triadic
#A7B92F #2FA7B9 #B92FA7
tetradic
#A7B92F #2FB986 #412FB9 #B92F62
square
#A7B92F #2FB986 #412FB9 #B92F62
split-complementary
#A7B92F #2F62B9 #862FB9
monochromatic
#4F5716 #7B8823 #A7B92F #C2D352 #D3DF83

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7B92F#FFFFFF#000000##000000
##A7B92F1.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)
#C6AF10
Deuteranopia (green-blind)
#C4B03B
Tritanopia (blue-blind)
#B2AE9F
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a7b92f;
/* rgb */ color: rgb(167, 185, 47);
/* oklch */ color: oklch(74.7% 0.157 116.9);
Tailwind
colors: {
  custom: {
    50: '#c5cd72',
    500: '#a7b92f',
    950: '#000000',
  },
}
SCSS
$custom: #a7b92f;
$custom-light: #c5cd72;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b92f",
  "rgb": {
    "r": 167,
    "g": 185,
    "b": 47
  },
  "hsl": {
    "h": 67.826,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.74744,
    "c": 0.1565,
    "h": 116.9
  },
  "luminance": 0.43119
}

Semantic roles & 50–950 ramp

primary
#A7B92F
secondary
#857BC9
accent
#45E35A
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7B92F

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

Preview Lab → · Contrast checker → · Palette generator →

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