#A7AD2B#A7AD2B

#A7AD2B is a light, vivid yellow. Relative luminance 0.383; OKLCH L 72.0% C 0.146 H 112.2°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#A7AD2B
RGBrgb(167, 173, 43)
HSLhsl(63, 60%, 42%)
HSVhsv(63, 75%, 68%)
CMYKcmyk(3.5%, 0%, 75.1%, 32.2%)
CIE-LABlab(68.22, -17.70, 61.37)
CIE-LCHlch(68.22, 63.87, 106.09°)
OKLaboklab(72% -0.0551 0.1349)
OKLCHoklch(72% 0.146 112.2)
XYZxyz(31.3170, 38.2778, 8.0237)
Luminance0.3828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7AD2B #312BAD
analogous
#AD722B #A7AD2B #66AD2B
triadic
#A7AD2B #2BA7AD #AD2BA7
tetradic
#A7AD2B #2BAD72 #312BAD #AD2B66
square
#A7AD2B #2BAD72 #312BAD #AD2B66
split-complementary
#A7AD2B #2B66AD #722BAD
monochromatic
#484B13 #787C1F #A7AD2B #CAD145 #D8DD76

Accessibility & contrast

On white

2.43
#A7AD2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#A7AD2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7AD2B
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7AD2B#FFFFFF#000000##000000
##A7AD2B1.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA50C
Deuteranopia (green-blind)
#BBA836
Tritanopia (blue-blind)
#B3A294
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #a7ad2b;
/* rgb */ color: rgb(167, 173, 43);
/* oklch */ color: oklch(72.0% 0.146 112.2);
Tailwind
colors: {
  custom: {
    50: '#c5c56f',
    500: '#a7ad2b',
    950: '#000000',
  },
}
SCSS
$custom: #a7ad2b;
$custom-light: #c5c56f;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ad2b",
  "rgb": {
    "r": 167,
    "g": 173,
    "b": 43
  },
  "hsl": {
    "h": 62.769,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.72001,
    "c": 0.1457,
    "h": 112.2
  },
  "luminance": 0.38277
}

Semantic roles & 50–950 ramp

primary
#A7AD2B
secondary
#736FC4
accent
#44E34C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A7AD2B

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

Preview Lab → · Contrast checker → · Palette generator →

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