#A6BA25#A6BA25

#A6BA25 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 74.8% C 0.163 H 117.5°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#A6BA25
RGBrgb(166, 186, 37)
HSLhsl(68, 67%, 44%)
HSVhsv(68, 80%, 73%)
CMYKcmyk(10.8%, 0%, 80.1%, 27.1%)
CIE-LABlab(71.80, -24.83, 66.41)
CIE-LCHlch(71.80, 70.90, 110.50°)
OKLaboklab(74.84% -0.0753 0.1446)
OKLCHoklch(74.84% 0.163 117.5)
XYZxyz(33.6196, 43.3588, 8.3479)
Luminance0.4336 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6BA25 #3925BA
analogous
#BA8325 #A6BA25 #5BBA25
triadic
#A6BA25 #25A6BA #BA25A6
tetradic
#A6BA25 #25BA83 #3925BA #BA255B
square
#A6BA25 #25BA83 #3925BA #BA255B
split-complementary
#A6BA25 #255BBA #8325BA
monochromatic
#4B5411 #78871B #A6BA25 #C5DA43 #D5E476

Accessibility & contrast

On white

2.17
#A6BA25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.67
#A6BA25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6BA25
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6BA25#FFFFFF#000000##000000
##A6BA251.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B000
Deuteranopia (green-blind)
#C5B134
Tritanopia (blue-blind)
#B1AF9F
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a6ba25;
/* rgb */ color: rgb(166, 186, 37);
/* oklch */ color: oklch(74.8% 0.163 117.5);
Tailwind
colors: {
  custom: {
    50: '#c4ce6e',
    500: '#a6ba25',
    950: '#000000',
  },
}
SCSS
$custom: #a6ba25;
$custom-light: #c4ce6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a6ba25",
  "rgb": {
    "r": 166,
    "g": 186,
    "b": 37
  },
  "hsl": {
    "h": 68.054,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.7484,
    "c": 0.163,
    "h": 117.5
  },
  "luminance": 0.43358
}

Semantic roles & 50–950 ramp

primary
#A6BA25
secondary
#7C70CB
accent
#3EEA55
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6BA25

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

Preview Lab → · Contrast checker → · Palette generator →

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