#A6A239#A6A239

#A6A239 is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.6% C 0.125 H 107.1°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#A6A239
RGBrgb(166, 162, 57)
HSLhsl(58, 49%, 44%)
HSVhsv(58, 66%, 65%)
CMYKcmyk(0%, 2.4%, 65.7%, 34.9%)
CIE-LABlab(65.16, -11.72, 53.02)
CIE-LCHlch(65.16, 54.30, 102.46°)
OKLaboklab(69.56% -0.0369 0.1197)
OKLCHoklch(69.56% 0.125 107.1)
XYZxyz(29.3858, 34.2440, 8.9319)
Luminance0.3424 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A239 #393DA6
analogous
#A66B39 #A6A239 #73A639
triadic
#A6A239 #39A6A2 #A239A6
tetradic
#A6A239 #39A66B #393DA6 #A63973
square
#A6A239 #39A66B #393DA6 #A63973
split-complementary
#A6A239 #3973A6 #6B39A6
monochromatic
#4B491A #787629 #A6A239 #C5C157 #D5D284

Accessibility & contrast

On white

2.68
#A6A239 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#A6A239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A239
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A239#FFFFFF#000000##000000
##A6A2391.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C2B
Deuteranopia (green-blind)
#B1A040
Tritanopia (blue-blind)
#B2988C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a6a239;
/* rgb */ color: rgb(166, 162, 57);
/* oklch */ color: oklch(69.6% 0.125 107.1);
Tailwind
colors: {
  custom: {
    50: '#c3bd75',
    500: '#a6a239',
    950: '#000000',
  },
}
SCSS
$custom: #a6a239;
$custom-light: #c3bd75;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a239",
  "rgb": {
    "r": 166,
    "g": 162,
    "b": 57
  },
  "hsl": {
    "h": 57.798,
    "s": 48.879,
    "l": 43.725
  },
  "oklch": {
    "l": 0.69558,
    "c": 0.12528,
    "h": 107.1
  },
  "luminance": 0.34243
}

Semantic roles & 50–950 ramp

primary
#A6A239
secondary
#7C7EBF
accent
#54D84F
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A6A239

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

Preview Lab → · Contrast checker → · Palette generator →

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