#A7B148#A7B148

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

Color values

HEX#A7B148
RGBrgb(167, 177, 72)
HSLhsl(66, 42%, 49%)
HSVhsv(66, 59%, 69%)
CMYKcmyk(5.6%, 0%, 59.3%, 30.6%)
CIE-LABlab(69.56, -17.98, 51.24)
CIE-LCHlch(69.56, 54.31, 109.34°)
OKLaboklab(73.14% -0.053 0.1181)
OKLCHoklch(73.14% 0.129 114.2)
XYZxyz(32.8289, 40.1282, 12.1458)
Luminance0.4013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B148 #5248B1
analogous
#B18748 #A7B148 #73B148
triadic
#A7B148 #48A7B1 #B148A7
tetradic
#A7B148 #48B187 #5248B1 #B14873
square
#A7B148 #48B187 #5248B1 #B14873
split-complementary
#A7B148 #4873B1 #8748B1
monochromatic
#555A25 #7E8536 #A7B148 #BDC571 #D1D79C

Accessibility & contrast

On white

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

On black

9.03
#A7B148 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B148
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B148#FFFFFF#000000##000000
##A7B1481.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA93C
Deuteranopia (green-blind)
#BCAB4E
Tritanopia (blue-blind)
#B1A79B
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a7b148;
/* rgb */ color: rgb(167, 177, 72);
/* oklch */ color: oklch(73.1% 0.129 114.2);
Tailwind
colors: {
  custom: {
    50: '#c3c87f',
    500: '#a7b148',
    950: '#000000',
  },
}
SCSS
$custom: #a7b148;
$custom-light: #c3c87f;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b148",
  "rgb": {
    "r": 167,
    "g": 177,
    "b": 72
  },
  "hsl": {
    "h": 65.714,
    "s": 42.169,
    "l": 48.824
  },
  "oklch": {
    "l": 0.73138,
    "c": 0.12943,
    "h": 114.2
  },
  "luminance": 0.40128
}

Semantic roles & 50–950 ramp

primary
#A7B148
secondary
#9691C3
accent
#56D262
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A7B148

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

Preview Lab → · Contrast checker → · Palette generator →

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