#A7A12E#A7A12E

#A7A12E is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.3% C 0.132 H 106.4°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#A7A12E
RGBrgb(167, 161, 46)
HSLhsl(57, 57%, 42%)
HSVhsv(57, 72%, 65%)
CMYKcmyk(0%, 3.6%, 72.5%, 34.5%)
CIE-LABlab(64.89, -11.36, 57.14)
CIE-LCHlch(64.89, 58.26, 101.25°)
OKLaboklab(69.34% -0.0371 0.1265)
OKLCHoklch(69.34% 0.132 106.4)
XYZxyz(29.1755, 33.9035, 7.5914)
Luminance0.3390 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7A12E #2E34A7
analogous
#A7652E #A7A12E #71A72E
triadic
#A7A12E #2EA7A1 #A12EA7
tetradic
#A7A12E #2EA765 #2E34A7 #A72E71
square
#A7A12E #2EA765 #2E34A7 #A72E71
split-complementary
#A7A12E #2E71A7 #652EA7
monochromatic
#474414 #777321 #A7A12E #CCC546 #D9D476

Accessibility & contrast

On white

2.70
#A7A12E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#A7A12E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7A12E
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7A12E#FFFFFF#000000##000000
##A7A12E1.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1A
Deuteranopia (green-blind)
#B2A036
Tritanopia (blue-blind)
#B3968B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #a7a12e;
/* rgb */ color: rgb(167, 161, 46);
/* oklch */ color: oklch(69.3% 0.132 106.4);
Tailwind
colors: {
  custom: {
    50: '#c5bc6f',
    500: '#a7a12e',
    950: '#000000',
  },
}
SCSS
$custom: #a7a12e;
$custom-light: #c5bc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a7a12e",
  "rgb": {
    "r": 167,
    "g": 161,
    "b": 46
  },
  "hsl": {
    "h": 57.025,
    "s": 56.808,
    "l": 41.765
  },
  "oklch": {
    "l": 0.69339,
    "c": 0.13182,
    "h": 106.4
  },
  "luminance": 0.33902
}

Semantic roles & 50–950 ramp

primary
#A7A12E
secondary
#7074C1
accent
#4FE048
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #A7A12E

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

Preview Lab → · Contrast checker → · Palette generator →

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