#A7B142#A7B142

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

Color values

HEX#A7B142
RGBrgb(167, 177, 66)
HSLhsl(65, 46%, 48%)
HSVhsv(65, 63%, 69%)
CMYKcmyk(5.6%, 0%, 62.7%, 30.6%)
CIE-LABlab(69.51, -18.42, 53.82)
CIE-LCHlch(69.51, 56.88, 108.89°)
OKLaboklab(73.08% -0.0549 0.1227)
OKLCHoklch(73.08% 0.134 114.1)
XYZxyz(32.6426, 40.0537, 11.1648)
Luminance0.4005 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B142 #4C42B1
analogous
#B18342 #A7B142 #70B142
triadic
#A7B142 #42A7B1 #B142A7
tetradic
#A7B142 #42B183 #4C42B1 #B14270
square
#A7B142 #42B183 #4C42B1 #B14270
split-complementary
#A7B142 #4270B1 #8342B1
monochromatic
#535821 #7D8431 #A7B142 #BFC769 #D2D896

Accessibility & contrast

On white

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

On black

9.01
#A7B142 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B142
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B142#FFFFFF#000000##000000
##A7B1421.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7b142;
/* rgb */ color: rgb(167, 177, 66);
/* oklch */ color: oklch(73.1% 0.134 114.1);
Tailwind
colors: {
  custom: {
    50: '#c4c87c',
    500: '#a7b142',
    950: '#000000',
  },
}
SCSS
$custom: #a7b142;
$custom-light: #c4c87c;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b142",
  "rgb": {
    "r": 167,
    "g": 177,
    "b": 66
  },
  "hsl": {
    "h": 65.405,
    "s": 45.679,
    "l": 47.647
  },
  "oklch": {
    "l": 0.73079,
    "c": 0.13444,
    "h": 114.1
  },
  "luminance": 0.40053
}

Semantic roles & 50–950 ramp

primary
#A7B142
secondary
#908BC3
accent
#52D55E
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A7B142

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

Preview Lab → · Contrast checker → · Palette generator →

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