#A6B125#A6B125

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

Color values

HEX#A6B125
RGBrgb(166, 177, 37)
HSLhsl(65, 65%, 42%)
HSVhsv(65, 79%, 69%)
CMYKcmyk(6.2%, 0%, 79.1%, 30.6%)
CIE-LABlab(69.24, -20.39, 64.14)
CIE-LCHlch(69.24, 67.30, 107.63°)
OKLaboklab(72.79% -0.063 0.1397)
OKLCHoklch(72.79% 0.153 114.3)
XYZxyz(31.7829, 39.6855, 7.7357)
Luminance0.3968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B125 #3025B1
analogous
#B17625 #A6B125 #60B125
triadic
#A6B125 #25A6B1 #B125A6
tetradic
#A6B125 #25B176 #3025B1 #B12560
square
#A6B125 #25B176 #3025B1 #B12560
split-complementary
#A6B125 #2560B1 #7625B1
monochromatic
#474C10 #777E1A #A6B125 #CAD63D #D8E16F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6B125#FFFFFF#000000##000000
##A6B1251.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: #a6b125;
/* rgb */ color: rgb(166, 177, 37);
/* oklch */ color: oklch(72.8% 0.153 114.3);
Tailwind
colors: {
  custom: {
    50: '#c4c86d',
    500: '#a6b125',
    950: '#000000',
  },
}
SCSS
$custom: #a6b125;
$custom-light: #c4c86d;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b125",
  "rgb": {
    "r": 166,
    "g": 177,
    "b": 37
  },
  "hsl": {
    "h": 64.714,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.72789,
    "c": 0.15328,
    "h": 114.3
  },
  "luminance": 0.39685
}

Semantic roles & 50–950 ramp

primary
#A6B125
secondary
#716AC8
accent
#3FE84D
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A6B125

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

Preview Lab → · Contrast checker → · Palette generator →

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