#A7B726#A7B726

#A7B726 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.2% C 0.159 H 116.1°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#A7B726
RGBrgb(167, 183, 38)
HSLhsl(67, 66%, 43%)
HSVhsv(67, 79%, 72%)
CMYKcmyk(8.7%, 0%, 79.2%, 28.2%)
CIE-LABlab(71.02, -22.90, 65.47)
CIE-LCHlch(71.02, 69.36, 109.28°)
OKLaboklab(74.24% -0.0699 0.1427)
OKLCHoklch(74.24% 0.159 116.1)
XYZxyz(33.2206, 42.2229, 8.2331)
Luminance0.4222 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B726 #3626B7
analogous
#B77E26 #A7B726 #5EB726
triadic
#A7B726 #26A7B7 #B726A7
tetradic
#A7B726 #26B77E #3626B7 #B7265E
square
#A7B726 #26B77E #3626B7 #B7265E
split-complementary
#A7B726 #265EB7 #7E26B7
monochromatic
#4B5211 #79841B #A7B726 #C7D842 #D6E275

Accessibility & contrast

On white

2.22
#A7B726 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#A7B726 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B726
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B726#FFFFFF#000000##000000
##A7B7261.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#C3AF34
Tritanopia (blue-blind)
#B2AC9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a7b726;
/* rgb */ color: rgb(167, 183, 38);
/* oklch */ color: oklch(74.2% 0.159 116.1);
Tailwind
colors: {
  custom: {
    50: '#c5cc6e',
    500: '#a7b726',
    950: '#000000',
  },
}
SCSS
$custom: #a7b726;
$custom-light: #c5cc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b726",
  "rgb": {
    "r": 167,
    "g": 183,
    "b": 38
  },
  "hsl": {
    "h": 66.621,
    "s": 65.611,
    "l": 43.333
  },
  "oklch": {
    "l": 0.74238,
    "c": 0.15892,
    "h": 116.1
  },
  "luminance": 0.42222
}

Semantic roles & 50–950 ramp

primary
#A7B726
secondary
#796FCA
accent
#3FE952
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7B726

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

Preview Lab → · Contrast checker → · Palette generator →

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