#A6B62B#A6B62B

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

Color values

HEX#A6B62B
RGBrgb(166, 182, 43)
HSLhsl(67, 62%, 44%)
HSVhsv(67, 76%, 71%)
CMYKcmyk(8.8%, 0%, 76.4%, 28.6%)
CIE-LABlab(70.69, -22.63, 63.63)
CIE-LCHlch(70.69, 67.53, 109.58°)
OKLaboklab(73.96% -0.0687 0.1397)
OKLCHoklch(73.96% 0.156 116.2)
XYZxyz(32.8908, 41.7378, 8.6086)
Luminance0.4174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B62B #3B2BB6
analogous
#B6802B #A6B62B #61B62B
triadic
#A6B62B #2BA6B6 #B62BA6
tetradic
#A6B62B #2BB680 #3B2BB6 #B62B61
square
#A6B62B #2BB680 #3B2BB6 #B62B61
split-complementary
#A6B62B #2B61B6 #802BB6
monochromatic
#4C5314 #79841F #A6B62B #C4D44A #D4E07B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6B62B#FFFFFF#000000##000000
##A6B62B1.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)
#C3AC05
Deuteranopia (green-blind)
#C2AE38
Tritanopia (blue-blind)
#B1AB9C
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a6b62b;
/* rgb */ color: rgb(166, 182, 43);
/* oklch */ color: oklch(74.0% 0.156 116.2);
Tailwind
colors: {
  custom: {
    50: '#c4cb70',
    500: '#a6b62b',
    950: '#000000',
  },
}
SCSS
$custom: #a6b62b;
$custom-light: #c4cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b62b",
  "rgb": {
    "r": 166,
    "g": 182,
    "b": 43
  },
  "hsl": {
    "h": 66.906,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.73958,
    "c": 0.15569,
    "h": 116.2
  },
  "luminance": 0.41737
}

Semantic roles & 50–950 ramp

primary
#A6B62B
secondary
#7E75C8
accent
#43E556
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6B62B

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

Preview Lab → · Contrast checker → · Palette generator →

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