#A7B336#A7B336

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

Color values

HEX#A7B336
RGBrgb(167, 179, 54)
HSLhsl(66, 54%, 46%)
HSVhsv(66, 70%, 70%)
CMYKcmyk(6.7%, 0%, 69.8%, 29.8%)
CIE-LABlab(69.98, -20.17, 59.15)
CIE-LCHlch(69.98, 62.49, 108.83°)
OKLaboklab(73.43% -0.061 0.1321)
OKLCHoklch(73.43% 0.146 114.8)
XYZxyz(32.7232, 40.7226, 9.6257)
Luminance0.4072 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B336 #4236B3
analogous
#B38036 #A7B336 #68B336
triadic
#A7B336 #36A7B3 #B336A7
tetradic
#A7B336 #36B380 #4236B3 #B33668
square
#A7B336 #36B380 #4236B3 #B33668
split-complementary
#A7B336 #3668B3 #8036B3
monochromatic
#4F551A #7B8428 #A7B336 #C2CD59 #D3DB88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7B336#FFFFFF#000000##000000
##A7B3361.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)
#C0AA22
Deuteranopia (green-blind)
#BFAC40
Tritanopia (blue-blind)
#B2A99A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a7b336;
/* rgb */ color: rgb(167, 179, 54);
/* oklch */ color: oklch(73.4% 0.145 114.8);
Tailwind
colors: {
  custom: {
    50: '#c4c975',
    500: '#a7b336',
    950: '#000000',
  },
}
SCSS
$custom: #a7b336;
$custom-light: #c4c975;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b336",
  "rgb": {
    "r": 167,
    "g": 179,
    "b": 54
  },
  "hsl": {
    "h": 65.76,
    "s": 53.648,
    "l": 45.686
  },
  "oklch": {
    "l": 0.73429,
    "c": 0.1455,
    "h": 114.8
  },
  "luminance": 0.40722
}

Semantic roles & 50–950 ramp

primary
#A7B336
secondary
#8680C5
accent
#4BDD59
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A7B336

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

Preview Lab → · Contrast checker → · Palette generator →

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