#A6B625#A6B625

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

Color values

HEX#A6B625
RGBrgb(166, 182, 37)
HSLhsl(67, 66%, 43%)
HSVhsv(67, 80%, 71%)
CMYKcmyk(8.8%, 0%, 79.7%, 28.6%)
CIE-LABlab(70.66, -22.87, 65.40)
CIE-LCHlch(70.66, 69.29, 109.27°)
OKLaboklab(73.93% -0.0699 0.1424)
OKLCHoklch(73.93% 0.159 116.1)
XYZxyz(32.7887, 41.6970, 8.0709)
Luminance0.4170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B625 #3525B6
analogous
#B67E25 #A6B625 #5DB625
triadic
#A6B625 #25A6B6 #B625A6
tetradic
#A6B625 #25B67E #3525B6 #B6255D
square
#A6B625 #25B67E #3525B6 #B6255D
split-complementary
#A6B625 #255DB6 #7E25B6
monochromatic
#495010 #78831B #A6B625 #C7D840 #D6E373

Accessibility & contrast

On white

2.25
#A6B625 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#A6B625 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B625
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B625#FFFFFF#000000##000000
##A6B6251.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#C2AE33
Tritanopia (blue-blind)
#B1AB9C
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a6b625;
/* rgb */ color: rgb(166, 182, 37);
/* oklch */ color: oklch(73.9% 0.159 116.1);
Tailwind
colors: {
  custom: {
    50: '#c4cb6d',
    500: '#a6b625',
    950: '#000000',
  },
}
SCSS
$custom: #a6b625;
$custom-light: #c4cb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b625",
  "rgb": {
    "r": 166,
    "g": 182,
    "b": 37
  },
  "hsl": {
    "h": 66.621,
    "s": 66.21,
    "l": 42.941
  },
  "oklch": {
    "l": 0.73927,
    "c": 0.15864,
    "h": 116.1
  },
  "luminance": 0.41696
}

Semantic roles & 50–950 ramp

primary
#A6B625
secondary
#776DCA
accent
#3FE951
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6B625

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

Preview Lab → · Contrast checker → · Palette generator →

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