#A6B62C#A6B62C

#A6B62C is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.0% C 0.155 H 116.2°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#A6B62C
RGBrgb(166, 182, 44)
HSLhsl(67, 61%, 44%)
HSVhsv(67, 76%, 71%)
CMYKcmyk(8.8%, 0%, 75.8%, 28.6%)
CIE-LABlab(70.69, -22.59, 63.31)
CIE-LCHlch(70.69, 67.22, 109.63°)
OKLaboklab(73.96% -0.0685 0.1392)
OKLCHoklch(73.96% 0.155 116.2)
XYZxyz(32.9093, 41.7452, 8.7064)
Luminance0.4174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B62C #3C2CB6
analogous
#B6812C #A6B62C #61B62C
triadic
#A6B62C #2CA6B6 #B62CA6
tetradic
#A6B62C #2CB681 #3C2CB6 #B62C61
square
#A6B62C #2CB681 #3C2CB6 #B62C61
split-complementary
#A6B62C #2C61B6 #812CB6
monochromatic
#4C5314 #798520 #A6B62C #C4D44C #D4E07D

Accessibility & contrast

On white

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

On black

9.35
#A6B62C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6B62C
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6B62C#FFFFFF#000000##000000
##A6B62C1.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6b62c;
/* rgb */ color: rgb(166, 182, 44);
/* oklch */ color: oklch(74.0% 0.155 116.2);
Tailwind
colors: {
  custom: {
    50: '#c4cb70',
    500: '#a6b62c',
    950: '#000000',
  },
}
SCSS
$custom: #a6b62c;
$custom-light: #c4cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b62c",
  "rgb": {
    "r": 166,
    "g": 182,
    "b": 44
  },
  "hsl": {
    "h": 66.957,
    "s": 61.062,
    "l": 44.314
  },
  "oklch": {
    "l": 0.73964,
    "c": 0.15516,
    "h": 116.2
  },
  "luminance": 0.41745
}

Semantic roles & 50–950 ramp

primary
#A6B62C
secondary
#7F76C8
accent
#44E456
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6B62C

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

Preview Lab → · Contrast checker → · Palette generator →

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