#A6B124#A6B124

#A6B124 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 72.8% C 0.154 H 114.3°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#A6B124
RGBrgb(166, 177, 36)
HSLhsl(65, 66%, 42%)
HSVhsv(65, 80%, 69%)
CMYKcmyk(6.2%, 0%, 79.7%, 30.6%)
CIE-LABlab(69.24, -20.42, 64.42)
CIE-LCHlch(69.24, 67.58, 107.59°)
OKLaboklab(72.79% -0.0632 0.1402)
OKLCHoklch(72.79% 0.154 114.3)
XYZxyz(31.7675, 39.6793, 7.6541)
Luminance0.3968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B124 #2F24B1
analogous
#B17624 #A6B124 #60B124
triadic
#A6B124 #24A6B1 #B124A6
tetradic
#A6B124 #24B176 #2F24B1 #B12460
square
#A6B124 #24B176 #2F24B1 #B12460
split-complementary
#A6B124 #2460B1 #7624B1
monochromatic
#474B0F #767E1A #A6B124 #CBD73B #D8E16E

Accessibility & contrast

On white

2.35
#A6B124 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.94
#A6B124 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B124
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B124#FFFFFF#000000##000000
##A6B1241.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA800
Deuteranopia (green-blind)
#BEAA32
Tritanopia (blue-blind)
#B1A697
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a6b124;
/* rgb */ color: rgb(166, 177, 36);
/* oklch */ color: oklch(72.8% 0.154 114.3);
Tailwind
colors: {
  custom: {
    50: '#c4c86c',
    500: '#a6b124',
    950: '#000000',
  },
}
SCSS
$custom: #a6b124;
$custom-light: #c4c86c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b124",
  "rgb": {
    "r": 166,
    "g": 177,
    "b": 36
  },
  "hsl": {
    "h": 64.681,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.72785,
    "c": 0.15375,
    "h": 114.3
  },
  "luminance": 0.39679
}

Semantic roles & 50–950 ramp

primary
#A6B124
secondary
#7069C8
accent
#3FE94C
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A6B124

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

Preview Lab → · Contrast checker → · Palette generator →

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