#A6B62D#A6B62D

#A6B62D is a light, vivid yellow. Relative luminance 0.418; 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#A6B62D
RGBrgb(166, 182, 45)
HSLhsl(67, 60%, 45%)
HSVhsv(67, 75%, 71%)
CMYKcmyk(8.8%, 0%, 75.3%, 28.6%)
CIE-LABlab(70.70, -22.54, 62.99)
CIE-LCHlch(70.70, 66.90, 109.69°)
OKLaboklab(73.97% -0.0683 0.1387)
OKLCHoklch(73.97% 0.155 116.2)
XYZxyz(32.9284, 41.7528, 8.8066)
Luminance0.4175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B62D #3D2DB6
analogous
#B6812D #A6B62D #62B62D
triadic
#A6B62D #2DA6B6 #B62DA6
tetradic
#A6B62D #2DB681 #3D2DB6 #B62D62
square
#A6B62D #2DB681 #3D2DB6 #B62D62
split-complementary
#A6B62D #2D62B6 #812DB6
monochromatic
#4C5415 #798521 #A6B62D #C3D34D #D4DF7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6B62D#FFFFFF#000000##000000
##A6B62D1.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)
#C3AC0C
Deuteranopia (green-blind)
#C2AE39
Tritanopia (blue-blind)
#B1AB9C
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a6b62d;
/* rgb */ color: rgb(166, 182, 45);
/* oklch */ color: oklch(74.0% 0.155 116.2);
Tailwind
colors: {
  custom: {
    50: '#c4cb71',
    500: '#a6b62d',
    950: '#000000',
  },
}
SCSS
$custom: #a6b62d;
$custom-light: #c4cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b62d",
  "rgb": {
    "r": 166,
    "g": 182,
    "b": 45
  },
  "hsl": {
    "h": 67.007,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.7397,
    "c": 0.15462,
    "h": 116.2
  },
  "luminance": 0.41752
}

Semantic roles & 50–950 ramp

primary
#A6B62D
secondary
#8077C8
accent
#44E357
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6B62D

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

Preview Lab → · Contrast checker → · Palette generator →

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