#A6B62F#A6B62F

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

Color values

HEX#A6B62F
RGBrgb(166, 182, 47)
HSLhsl(67, 59%, 45%)
HSVhsv(67, 74%, 71%)
CMYKcmyk(8.8%, 0%, 74.2%, 28.6%)
CIE-LABlab(70.71, -22.45, 62.33)
CIE-LCHlch(70.71, 66.25, 109.80°)
OKLaboklab(73.98% -0.0679 0.1377)
OKLCHoklch(73.98% 0.153 116.3)
XYZxyz(32.9678, 41.7686, 9.0142)
Luminance0.4177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6B62F #3F2FB6
analogous
#B6822F #A6B62F #63B62F
triadic
#A6B62F #2FA6B6 #B62FA6
tetradic
#A6B62F #2FB682 #3F2FB6 #B62F63
square
#A6B62F #2FB682 #3F2FB6 #B62F63
split-complementary
#A6B62F #2F63B6 #822FB6
monochromatic
#4D5516 #7A8522 #A6B62F #C3D250 #D3DE81

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6B62F#FFFFFF#000000##000000
##A6B62F1.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)
#C3AC12
Deuteranopia (green-blind)
#C1AE3B
Tritanopia (blue-blind)
#B1AB9C
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a6b62f;
/* rgb */ color: rgb(166, 182, 47);
/* oklch */ color: oklch(74.0% 0.153 116.3);
Tailwind
colors: {
  custom: {
    50: '#c4cb72',
    500: '#a6b62f',
    950: '#000000',
  },
}
SCSS
$custom: #a6b62f;
$custom-light: #c4cb72;
$custom-dark: #000000;
JSON
{
  "hex": "#a6b62f",
  "rgb": {
    "r": 166,
    "g": 182,
    "b": 47
  },
  "hsl": {
    "h": 67.111,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.73982,
    "c": 0.15349,
    "h": 116.3
  },
  "luminance": 0.41768
}

Semantic roles & 50–950 ramp

primary
#A6B62F
secondary
#8379C7
accent
#46E258
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A6B62F

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

Preview Lab → · Contrast checker → · Palette generator →

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