#A7A239#A7A239

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

Color values

HEX#A7A239
RGBrgb(167, 162, 57)
HSLhsl(57, 49%, 44%)
HSVhsv(57, 66%, 65%)
CMYKcmyk(0%, 3%, 65.9%, 34.5%)
CIE-LABlab(65.24, -11.28, 53.14)
CIE-LCHlch(65.24, 54.32, 101.98°)
OKLaboklab(69.65% -0.0357 0.1199)
OKLCHoklch(69.65% 0.125 106.6)
XYZxyz(29.5963, 34.3525, 8.9418)
Luminance0.3435 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A239 #393EA7
analogous
#A76B39 #A7A239 #75A739
triadic
#A7A239 #39A7A2 #A239A7
tetradic
#A7A239 #39A76B #393EA7 #A73975
square
#A7A239 #39A76B #393EA7 #A73975
split-complementary
#A7A239 #3975A7 #6B39A7
monochromatic
#4C491A #797629 #A7A239 #C6C157 #D5D285

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7A239#FFFFFF#000000##000000
##A7A2391.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)
#AF9C2B
Deuteranopia (green-blind)
#B2A040
Tritanopia (blue-blind)
#B3988C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #a7a239;
/* rgb */ color: rgb(167, 162, 57);
/* oklch */ color: oklch(69.6% 0.125 106.6);
Tailwind
colors: {
  custom: {
    50: '#c4bd75',
    500: '#a7a239',
    950: '#000000',
  },
}
SCSS
$custom: #a7a239;
$custom-light: #c4bd75;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a239",
  "rgb": {
    "r": 167,
    "g": 162,
    "b": 57
  },
  "hsl": {
    "h": 57.273,
    "s": 49.107,
    "l": 43.922
  },
  "oklch": {
    "l": 0.69647,
    "c": 0.12514,
    "h": 106.6
  },
  "luminance": 0.34352
}

Semantic roles & 50–950 ramp

primary
#A7A239
secondary
#7D80BF
accent
#55D94F
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B

Preview Lab

Preview with #A7A239

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

Preview Lab → · Contrast checker → · Palette generator →

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