#A7B34F#A7B34F

#A7B34F is a light, vivid yellow. Relative luminance 0.410; OKLCH L 73.7% C 0.126 H 115.3°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#A7B34F
RGBrgb(167, 179, 79)
HSLhsl(67, 40%, 51%)
HSVhsv(67, 56%, 70%)
CMYKcmyk(6.7%, 0%, 55.9%, 29.8%)
CIE-LABlab(70.19, -18.43, 48.75)
CIE-LCHlch(70.19, 52.12, 110.71°)
OKLaboklab(73.66% -0.0536 0.1136)
OKLCHoklch(73.66% 0.126 115.3)
XYZxyz(33.4683, 41.0207, 13.5503)
Luminance0.4102 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B34F #5B4FB3
analogous
#B38D4F #A7B34F #75B34F
triadic
#A7B34F #4FA7B3 #B34FA7
tetradic
#A7B34F #4FB38D #5B4FB3 #B34F75
square
#A7B34F #4FB38D #5B4FB3 #B34F75
split-complementary
#A7B34F #4F75B3 #8D4FB3
monochromatic
#585F29 #80893B #A7B34F #BCC57A #D2D8A4

Accessibility & contrast

On white

2.28
#A7B34F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#A7B34F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B34F
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B34F#FFFFFF#000000##000000
##A7B34F1.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAB45
Deuteranopia (green-blind)
#BEAC55
Tritanopia (blue-blind)
#B0AA9D
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a7b34f;
/* rgb */ color: rgb(167, 179, 79);
/* oklch */ color: oklch(73.7% 0.126 115.3);
Tailwind
colors: {
  custom: {
    50: '#c3c984',
    500: '#a7b34f',
    950: '#000000',
  },
}
SCSS
$custom: #a7b34f;
$custom-light: #c3c984;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b34f",
  "rgb": {
    "r": 167,
    "g": 179,
    "b": 79
  },
  "hsl": {
    "h": 67.2,
    "s": 39.683,
    "l": 50.588
  },
  "oklch": {
    "l": 0.73664,
    "c": 0.12558,
    "h": 115.3
  },
  "luminance": 0.4102
}

Semantic roles & 50–950 ramp

primary
#A7B34F
secondary
#9E99C5
accent
#58D067
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #A7B34F

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

Preview Lab → · Contrast checker → · Palette generator →

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