#A6A237#A6A237

#A6A237 is a light, vivid yellow. Relative luminance 0.342; OKLCH L 69.5% C 0.127 H 107.2°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#A6A237
RGBrgb(166, 162, 55)
HSLhsl(58, 50%, 43%)
HSVhsv(58, 67%, 65%)
CMYKcmyk(0%, 2.4%, 66.9%, 34.9%)
CIE-LABlab(65.14, -11.84, 53.84)
CIE-LCHlch(65.14, 55.13, 102.40°)
OKLaboklab(69.54% -0.0375 0.1211)
OKLCHoklch(69.54% 0.127 107.2)
XYZxyz(29.3369, 34.2244, 8.6743)
Luminance0.3422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6A237 #373BA6
analogous
#A66A37 #A6A237 #72A637
triadic
#A6A237 #37A6A2 #A237A6
tetradic
#A6A237 #37A66A #373BA6 #A63772
square
#A6A237 #37A66A #373BA6 #A63772
split-complementary
#A6A237 #3772A6 #6A37A6
monochromatic
#4A4819 #787528 #A6A237 #C6C254 #D6D382

Accessibility & contrast

On white

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

On black

7.84
#A6A237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6A237
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6A237#FFFFFF#000000##000000
##A6A2371.002.687.847.84
#FFFFFF2.681.0021.0021.00
#0000007.8421.001.001.00
##0000007.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6a237;
/* rgb */ color: rgb(166, 162, 55);
/* oklch */ color: oklch(69.5% 0.127 107.2);
Tailwind
colors: {
  custom: {
    50: '#c3bd74',
    500: '#a6a237',
    950: '#000000',
  },
}
SCSS
$custom: #a6a237;
$custom-light: #c3bd74;
$custom-dark: #000000;
JSON
{
  "hex": "#a6a237",
  "rgb": {
    "r": 166,
    "g": 162,
    "b": 55
  },
  "hsl": {
    "h": 57.838,
    "s": 50.226,
    "l": 43.333
  },
  "oklch": {
    "l": 0.69541,
    "c": 0.12678,
    "h": 107.2
  },
  "luminance": 0.34223
}

Semantic roles & 50–950 ramp

primary
#A6A237
secondary
#7A7CBF
accent
#53DA4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A6A237

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

Preview Lab → · Contrast checker → · Palette generator →

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