#A7B146#A7B146

#A7B146 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.1% C 0.131 H 114.2°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#A7B146
RGBrgb(167, 177, 70)
HSLhsl(66, 43%, 48%)
HSVhsv(66, 60%, 69%)
CMYKcmyk(5.6%, 0%, 60.5%, 30.6%)
CIE-LABlab(69.54, -18.13, 52.11)
CIE-LCHlch(69.54, 55.18, 109.19°)
OKLaboklab(73.12% -0.0537 0.1197)
OKLCHoklch(73.12% 0.131 114.2)
XYZxyz(32.7647, 40.1025, 11.8077)
Luminance0.4010 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B146 #5046B1
analogous
#B18546 #A7B146 #71B146
triadic
#A7B146 #46A7B1 #B146A7
tetradic
#A7B146 #46B185 #5046B1 #B14671
square
#A7B146 #46B185 #5046B1 #B14671
split-complementary
#A7B146 #4671B1 #8546B1
monochromatic
#545923 #7E8535 #A7B146 #BEC66E #D1D79A

Accessibility & contrast

On white

2.33
#A7B146 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#A7B146 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B146
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B146#FFFFFF#000000##000000
##A7B1461.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA93A
Deuteranopia (green-blind)
#BDAB4D
Tritanopia (blue-blind)
#B1A79A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a7b146;
/* rgb */ color: rgb(167, 177, 70);
/* oklch */ color: oklch(73.1% 0.131 114.2);
Tailwind
colors: {
  custom: {
    50: '#c4c87e',
    500: '#a7b146',
    950: '#000000',
  },
}
SCSS
$custom: #a7b146;
$custom-light: #c4c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b146",
  "rgb": {
    "r": 167,
    "g": 177,
    "b": 70
  },
  "hsl": {
    "h": 65.607,
    "s": 43.32,
    "l": 48.431
  },
  "oklch": {
    "l": 0.73117,
    "c": 0.13114,
    "h": 114.2
  },
  "luminance": 0.40102
}

Semantic roles & 50–950 ramp

primary
#A7B146
secondary
#948FC3
accent
#55D361
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A7B146

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

Preview Lab → · Contrast checker → · Palette generator →

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