#A6B31E#A6B31E

#A6B31E is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.2% C 0.158 H 115.0°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#A6B31E
RGBrgb(166, 179, 30)
HSLhsl(65, 71%, 41%)
HSVhsv(65, 83%, 70%)
CMYKcmyk(7.3%, 0%, 83.2%, 29.8%)
CIE-LABlab(69.78, -21.62, 66.49)
CIE-LCHlch(69.78, 69.92, 108.02°)
OKLaboklab(73.21% -0.0669 0.1436)
OKLCHoklch(73.21% 0.158 115)
XYZxyz(32.0813, 40.4415, 7.3440)
Luminance0.4044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B31E #2B1EB3
analogous
#B3751E #A6B31E #5BB31E
triadic
#A6B31E #1EA6B3 #B31EA6
tetradic
#A6B31E #1EB375 #2B1EB3 #B31E5B
square
#A6B31E #1EB375 #2B1EB3 #B31E5B
split-complementary
#A6B31E #1E5BB3 #751EB3
monochromatic
#454A0C #757F15 #A6B31E #CEDD32 #DAE566

Accessibility & contrast

On white

2.31
#A6B31E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.09
#A6B31E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B31E
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B31E#FFFFFF#000000##000000
##A6B31E1.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA00
Deuteranopia (green-blind)
#C0AC2E
Tritanopia (blue-blind)
#B1A899
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a6b31e;
/* rgb */ color: rgb(166, 179, 30);
/* oklch */ color: oklch(73.2% 0.158 115.0);
Tailwind
colors: {
  custom: {
    50: '#c4c96a',
    500: '#a6b31e',
    950: '#000000',
  },
}
SCSS
$custom: #a6b31e;
$custom-light: #c4c96a;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b31e",
  "rgb": {
    "r": 166,
    "g": 179,
    "b": 30
  },
  "hsl": {
    "h": 65.235,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.73212,
    "c": 0.15839,
    "h": 115
  },
  "luminance": 0.40441
}

Semantic roles & 50–950 ramp

primary
#A6B31E
secondary
#6B62CB
accent
#3AEE49
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #A6B31E

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

Preview Lab → · Contrast checker → · Palette generator →

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