#A7B427#A7B427

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

Color values

HEX#A7B427
RGBrgb(167, 180, 39)
HSLhsl(66, 64%, 43%)
HSVhsv(66, 78%, 71%)
CMYKcmyk(7.2%, 0%, 78.3%, 29.4%)
CIE-LABlab(70.18, -21.38, 64.42)
CIE-LCHlch(70.18, 67.87, 108.36°)
OKLaboklab(73.56% -0.0657 0.1406)
OKLCHoklch(73.56% 0.155 115)
XYZxyz(32.6248, 41.0051, 8.1152)
Luminance0.4100 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B427 #3427B4
analogous
#B47A27 #A7B427 #60B427
triadic
#A7B427 #27A7B4 #B427A7
tetradic
#A7B427 #27B47A #3427B4 #B42760
square
#A7B427 #27B47A #3427B4 #B42760
split-complementary
#A7B427 #2760B4 #7A27B4
monochromatic
#4A4F11 #78821C #A7B427 #C8D642 #D7E174

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7B427#FFFFFF#000000##000000
##A7B4271.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)
#C1AB00
Deuteranopia (green-blind)
#C0AD34
Tritanopia (blue-blind)
#B2A99A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a7b427;
/* rgb */ color: rgb(167, 180, 39);
/* oklch */ color: oklch(73.6% 0.155 115.0);
Tailwind
colors: {
  custom: {
    50: '#c5ca6e',
    500: '#a7b427',
    950: '#000000',
  },
}
SCSS
$custom: #a7b427;
$custom-light: #c5ca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b427",
  "rgb": {
    "r": 167,
    "g": 180,
    "b": 39
  },
  "hsl": {
    "h": 65.532,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.73561,
    "c": 0.15521,
    "h": 115
  },
  "luminance": 0.41004
}

Semantic roles & 50–950 ramp

primary
#A7B427
secondary
#776FC8
accent
#40E750
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7B427

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

Preview Lab → · Contrast checker → · Palette generator →

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