#A7A92B#A7A92B

#A7A92B is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.1% C 0.142 H 110.4°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#A7A92B
RGBrgb(167, 169, 43)
HSLhsl(61, 59%, 42%)
HSVhsv(61, 75%, 66%)
CMYKcmyk(1.2%, 0%, 74.6%, 33.7%)
CIE-LABlab(67.10, -15.65, 60.32)
CIE-LCHlch(67.10, 62.31, 104.55°)
OKLaboklab(71.1% -0.0494 0.1326)
OKLCHoklch(71.1% 0.142 110.4)
XYZxyz(30.5614, 36.7667, 7.7718)
Luminance0.3677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A92B #2D2BA9
analogous
#A96C2B #A7A92B #68A92B
triadic
#A7A92B #2BA7A9 #A92BA7
tetradic
#A7A92B #2BA96C #2D2BA9 #A92B68
square
#A7A92B #2BA96C #2D2BA9 #A92B68
split-complementary
#A7A92B #2B68A9 #6C2BA9
monochromatic
#474712 #77781F #A7A92B #CDCF42 #DADB73

Accessibility & contrast

On white

2.51
#A7A92B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#A7A92B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A92B
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A92B#FFFFFF#000000##000000
##A7A92B1.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A10F
Deuteranopia (green-blind)
#B8A535
Tritanopia (blue-blind)
#B39E91
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #a7a92b;
/* rgb */ color: rgb(167, 169, 43);
/* oklch */ color: oklch(71.1% 0.142 110.4);
Tailwind
colors: {
  custom: {
    50: '#c5c26e',
    500: '#a7a92b',
    950: '#000000',
  },
}
SCSS
$custom: #a7a92b;
$custom-light: #c5c26e;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a92b",
  "rgb": {
    "r": 167,
    "g": 169,
    "b": 43
  },
  "hsl": {
    "h": 60.952,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.71102,
    "c": 0.14155,
    "h": 110.4
  },
  "luminance": 0.36766
}

Semantic roles & 50–950 ramp

primary
#A7A92B
secondary
#6E6DC3
accent
#45E348
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A7A92B

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

Preview Lab → · Contrast checker → · Palette generator →

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