#A6A224#A6A224

#A6A224 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.4% C 0.139 H 107.6°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#A6A224
RGBrgb(166, 162, 36)
HSLhsl(58, 64%, 40%)
HSVhsv(58, 78%, 65%)
CMYKcmyk(0%, 2.4%, 78.3%, 34.9%)
CIE-LABlab(65.02, -12.76, 60.66)
CIE-LCHlch(65.02, 61.98, 101.88°)
OKLaboklab(69.41% -0.0419 0.1321)
OKLCHoklch(69.41% 0.139 107.6)
XYZxyz(28.9658, 34.0760, 6.7203)
Luminance0.3407 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A224 #2428A6
analogous
#A66124 #A6A224 #69A624
triadic
#A6A224 #24A6A2 #A224A6
tetradic
#A6A224 #24A661 #2428A6 #A62469
square
#A6A224 #24A661 #2428A6 #A62469
split-complementary
#A6A224 #2469A6 #6124A6
monochromatic
#41400E #747119 #A6A224 #D3CE34 #DEDA66

Accessibility & contrast

On white

2.69
#A6A224 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#A6A224 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A224
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A224#FFFFFF#000000##000000
##A6A2241.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#B2A02F
Tritanopia (blue-blind)
#B2978B
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a6a224;
/* rgb */ color: rgb(166, 162, 36);
/* oklch */ color: oklch(69.4% 0.139 107.6);
Tailwind
colors: {
  custom: {
    50: '#c4bd6a',
    500: '#a6a224',
    950: '#000000',
  },
}
SCSS
$custom: #a6a224;
$custom-light: #c4bd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a224",
  "rgb": {
    "r": 166,
    "g": 162,
    "b": 36
  },
  "hsl": {
    "h": 58.154,
    "s": 64.356,
    "l": 39.608
  },
  "oklch": {
    "l": 0.6941,
    "c": 0.13859,
    "h": 107.6
  },
  "luminance": 0.34075
}

Semantic roles & 50–950 ramp

primary
#A6A224
secondary
#6265C4
accent
#46E740
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #A6A224

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

Preview Lab → · Contrast checker → · Palette generator →

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