#A7A237#A7A237

#A7A237 is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.6% C 0.127 H 106.7°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#A7A237
RGBrgb(167, 162, 55)
HSLhsl(57, 50%, 44%)
HSVhsv(57, 67%, 65%)
CMYKcmyk(0%, 3%, 67.1%, 34.5%)
CIE-LABlab(65.23, -11.40, 53.95)
CIE-LCHlch(65.23, 55.15, 101.93°)
OKLaboklab(69.63% -0.0363 0.1213)
OKLCHoklch(69.63% 0.127 106.7)
XYZxyz(29.5473, 34.3330, 8.6842)
Luminance0.3433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A237 #373CA7
analogous
#A76A37 #A7A237 #74A737
triadic
#A7A237 #37A7A2 #A237A7
tetradic
#A7A237 #37A76A #373CA7 #A73774
square
#A7A237 #37A76A #373CA7 #A73774
split-complementary
#A7A237 #3774A7 #6A37A7
monochromatic
#4B4919 #797528 #A7A237 #C7C254 #D6D282

Accessibility & contrast

On white

2.67
#A7A237 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#A7A237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A237
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A237#FFFFFF#000000##000000
##A7A2371.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7a237;
/* rgb */ color: rgb(167, 162, 55);
/* oklch */ color: oklch(69.6% 0.127 106.7);
Tailwind
colors: {
  custom: {
    50: '#c4bd74',
    500: '#a7a237',
    950: '#000000',
  },
}
SCSS
$custom: #a7a237;
$custom-light: #c4bd74;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a237",
  "rgb": {
    "r": 167,
    "g": 162,
    "b": 55
  },
  "hsl": {
    "h": 57.321,
    "s": 50.45,
    "l": 43.529
  },
  "oklch": {
    "l": 0.6963,
    "c": 0.12664,
    "h": 106.7
  },
  "luminance": 0.34332
}

Semantic roles & 50–950 ramp

primary
#A7A237
secondary
#7A7DC0
accent
#54DA4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A7A237

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

Preview Lab → · Contrast checker → · Palette generator →

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