#A7B534#A7B534

#A7B534 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 73.9% C 0.149 H 115.5°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#A7B534
RGBrgb(167, 181, 52)
HSLhsl(67, 55%, 46%)
HSVhsv(67, 71%, 71%)
CMYKcmyk(7.7%, 0%, 71.3%, 29%)
CIE-LABlab(70.53, -21.28, 60.43)
CIE-LCHlch(70.53, 64.07, 109.40°)
OKLaboklab(73.87% -0.0643 0.1345)
OKLCHoklch(73.87% 0.149 115.5)
XYZxyz(33.0809, 41.5117, 9.5180)
Luminance0.4151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B534 #4234B5
analogous
#B58334 #A7B534 #66B534
triadic
#A7B534 #34A7B5 #B534A7
tetradic
#A7B534 #34B583 #4234B5 #B53466
square
#A7B534 #34B583 #4234B5 #B53466
split-complementary
#A7B534 #3466B5 #8334B5
monochromatic
#4F5619 #7B8526 #A7B534 #C2CF57 #D3DC87

Accessibility & contrast

On white

2.26
#A7B534 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#A7B534 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B534
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B534#FFFFFF#000000##000000
##A7B5341.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC1D
Deuteranopia (green-blind)
#C1AE3E
Tritanopia (blue-blind)
#B2AB9C
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a7b534;
/* rgb */ color: rgb(167, 181, 52);
/* oklch */ color: oklch(73.9% 0.149 115.5);
Tailwind
colors: {
  custom: {
    50: '#c4cb74',
    500: '#a7b534',
    950: '#000000',
  },
}
SCSS
$custom: #a7b534;
$custom-light: #c4cb74;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b534",
  "rgb": {
    "r": 167,
    "g": 181,
    "b": 52
  },
  "hsl": {
    "h": 66.512,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.73868,
    "c": 0.14904,
    "h": 115.5
  },
  "luminance": 0.41511
}

Semantic roles & 50–950 ramp

primary
#A7B534
secondary
#867FC6
accent
#49DF59
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A7B534

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

Preview Lab → · Contrast checker → · Palette generator →

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