#A7B334#A7B334

#A7B334 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.4% C 0.147 H 114.8°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#A7B334
RGBrgb(167, 179, 52)
HSLhsl(66, 55%, 45%)
HSVhsv(66, 71%, 70%)
CMYKcmyk(6.7%, 0%, 70.9%, 29.8%)
CIE-LABlab(69.97, -20.28, 59.88)
CIE-LCHlch(69.97, 63.22, 108.71°)
OKLaboklab(73.41% -0.0615 0.1333)
OKLCHoklch(73.41% 0.147 114.8)
XYZxyz(32.6772, 40.7042, 9.3835)
Luminance0.4070 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B334 #4034B3
analogous
#B37F34 #A7B334 #68B334
triadic
#A7B334 #34A7B3 #B334A7
tetradic
#A7B334 #34B37F #4034B3 #B33468
square
#A7B334 #34B37F #4034B3 #B33468
split-complementary
#A7B334 #3468B3 #7F34B3
monochromatic
#4F5418 #7B8426 #A7B334 #C3CE56 #D4DC86

Accessibility & contrast

On white

2.30
#A7B334 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#A7B334 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B334
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B334#FFFFFF#000000##000000
##A7B3341.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA1E
Deuteranopia (green-blind)
#BFAC3E
Tritanopia (blue-blind)
#B2A99A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a7b334;
/* rgb */ color: rgb(167, 179, 52);
/* oklch */ color: oklch(73.4% 0.147 114.8);
Tailwind
colors: {
  custom: {
    50: '#c4c974',
    500: '#a7b334',
    950: '#000000',
  },
}
SCSS
$custom: #a7b334;
$custom-light: #c4c974;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b334",
  "rgb": {
    "r": 167,
    "g": 179,
    "b": 52
  },
  "hsl": {
    "h": 65.669,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.73415,
    "c": 0.14681,
    "h": 114.8
  },
  "luminance": 0.40704
}

Semantic roles & 50–950 ramp

primary
#A7B334
secondary
#847DC5
accent
#49DE58
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A7B334

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

Preview Lab → · Contrast checker → · Palette generator →

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