#A1A237#A1A237

#A1A237 is a light, vivid yellow. Relative luminance 0.337; OKLCH L 69.1% C 0.128 H 109.8°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#A1A237
RGBrgb(161, 162, 55)
HSLhsl(61, 49%, 43%)
HSVhsv(61, 66%, 64%)
CMYKcmyk(0.6%, 0%, 66%, 36.5%)
CIE-LABlab(64.72, -14.02, 53.27)
CIE-LCHlch(64.72, 55.09, 104.74°)
OKLaboklab(69.1% -0.0433 0.1201)
OKLCHoklch(69.1% 0.128 109.8)
XYZxyz(28.3088, 33.6943, 8.6261)
Luminance0.3369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1A237 #3837A2
analogous
#A26E37 #A1A237 #6BA237
triadic
#A1A237 #37A1A2 #A237A1
tetradic
#A1A237 #37A26E #3837A2 #A2376B
square
#A1A237 #37A26E #3837A2 #A2376B
split-complementary
#A1A237 #376BA2 #6E37A2
monochromatic
#464718 #747427 #A1A237 #C3C452 #D3D480

Accessibility & contrast

On white

2.71
#A1A237 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#A1A237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1A237
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1A237#FFFFFF#000000##000000
##A1A2371.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B28
Deuteranopia (green-blind)
#B09F3E
Tritanopia (blue-blind)
#AC988C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a1a237;
/* rgb */ color: rgb(161, 162, 55);
/* oklch */ color: oklch(69.1% 0.128 109.8);
Tailwind
colors: {
  custom: {
    50: '#c0bd74',
    500: '#a1a237',
    950: '#000000',
  },
}
SCSS
$custom: #a1a237;
$custom-light: #c0bd74;
$custom-dark: #000000;
JSON
{
  "hex": "#a1a237",
  "rgb": {
    "r": 161,
    "g": 162,
    "b": 55
  },
  "hsl": {
    "h": 60.561,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.69103,
    "c": 0.12764,
    "h": 109.8
  },
  "luminance": 0.33694
}

Semantic roles & 50–950 ramp

primary
#A1A237
secondary
#7878BD
accent
#4FD950
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A1A237

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

Preview Lab → · Contrast checker → · Palette generator →

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