#A7B533#A7B533

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

Color values

HEX#A7B533
RGBrgb(167, 181, 51)
HSLhsl(66, 56%, 45%)
HSVhsv(66, 72%, 71%)
CMYKcmyk(7.7%, 0%, 71.8%, 29%)
CIE-LABlab(70.53, -21.33, 60.79)
CIE-LCHlch(70.53, 64.42, 109.34°)
OKLaboklab(73.86% -0.0645 0.1351)
OKLCHoklch(73.86% 0.15 115.5)
XYZxyz(33.0586, 41.5028, 9.4007)
Luminance0.4150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B533 #4133B5
analogous
#B58233 #A7B533 #66B533
triadic
#A7B533 #33A7B5 #B533A7
tetradic
#A7B533 #33B582 #4133B5 #B53366
square
#A7B533 #33B582 #4133B5 #B53366
split-complementary
#A7B533 #3366B5 #8233B5
monochromatic
#4F5618 #7B8526 #A7B533 #C2CF56 #D3DD86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7B533#FFFFFF#000000##000000
##A7B5331.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)
#C2AC1B
Deuteranopia (green-blind)
#C1AD3D
Tritanopia (blue-blind)
#B2AB9C
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a7b533;
/* rgb */ color: rgb(167, 181, 51);
/* oklch */ color: oklch(73.9% 0.150 115.5);
Tailwind
colors: {
  custom: {
    50: '#c4cb74',
    500: '#a7b533',
    950: '#000000',
  },
}
SCSS
$custom: #a7b533;
$custom-light: #c4cb74;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b533",
  "rgb": {
    "r": 167,
    "g": 181,
    "b": 51
  },
  "hsl": {
    "h": 66.462,
    "s": 56.034,
    "l": 45.49
  },
  "oklch": {
    "l": 0.73861,
    "c": 0.14967,
    "h": 115.5
  },
  "luminance": 0.41502
}

Semantic roles & 50–950 ramp

primary
#A7B533
secondary
#857DC6
accent
#48DF59
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A7B533

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

Preview Lab → · Contrast checker → · Palette generator →

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