#A6B427#A6B427

#A6B427 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.5% C 0.156 H 115.4°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#A6B427
RGBrgb(166, 180, 39)
HSLhsl(66, 64%, 43%)
HSVhsv(66, 78%, 71%)
CMYKcmyk(7.8%, 0%, 78.3%, 29.4%)
CIE-LABlab(70.10, -21.80, 64.32)
CIE-LCHlch(70.10, 67.92, 108.73°)
OKLaboklab(73.48% -0.0668 0.1405)
OKLCHoklch(73.48% 0.156 115.4)
XYZxyz(32.4143, 40.8965, 8.1053)
Luminance0.4090 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B427 #3527B4
analogous
#B47B27 #A6B427 #60B427
triadic
#A6B427 #27A6B4 #B427A6
tetradic
#A6B427 #27B47B #3527B4 #B42760
square
#A6B427 #27B47B #3527B4 #B42760
split-complementary
#A6B427 #2760B4 #7B27B4
monochromatic
#494F11 #78821C #A6B427 #C7D642 #D6E174

Accessibility & contrast

On white

2.29
#A6B427 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#A6B427 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B427
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B427#FFFFFF#000000##000000
##A6B4271.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C0AC34
Tritanopia (blue-blind)
#B1A99A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a6b427;
/* rgb */ color: rgb(166, 180, 39);
/* oklch */ color: oklch(73.5% 0.156 115.4);
Tailwind
colors: {
  custom: {
    50: '#c4ca6e',
    500: '#a6b427',
    950: '#000000',
  },
}
SCSS
$custom: #a6b427;
$custom-light: #c4ca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b427",
  "rgb": {
    "r": 166,
    "g": 180,
    "b": 39
  },
  "hsl": {
    "h": 65.957,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.73481,
    "c": 0.15554,
    "h": 115.4
  },
  "luminance": 0.40896
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A6B427

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

Preview Lab → · Contrast checker → · Palette generator →

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