#A4BA2F#A4BA2F

#A4BA2F is a light, vivid yellow. Relative luminance 0.432; OKLCH L 74.7% C 0.159 H 118.4°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#A4BA2F
RGBrgb(164, 186, 47)
HSLhsl(69, 60%, 46%)
HSVhsv(69, 75%, 73%)
CMYKcmyk(11.8%, 0%, 74.7%, 27.1%)
CIE-LABlab(71.70, -25.25, 63.22)
CIE-LCHlch(71.70, 68.07, 111.77°)
OKLaboklab(74.74% -0.0755 0.1396)
OKLCHoklch(74.74% 0.159 118.4)
XYZxyz(33.3826, 43.2158, 9.2717)
Luminance0.4322 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4BA2F #452FBA
analogous
#BA8A2F #A4BA2F #5FBA2F
triadic
#A4BA2F #2FA4BA #BA2FA4
tetradic
#A4BA2F #2FBA8A #452FBA #BA2F5F
square
#A4BA2F #2FBA8A #452FBA #BA2F5F
split-complementary
#A4BA2F #2F5FBA #8A2FBA
monochromatic
#4E5816 #798923 #A4BA2F #BFD353 #D1E084

Accessibility & contrast

On white

2.18
#A4BA2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#A4BA2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A4BA2F
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4BA2F#FFFFFF#000000##000000
##A4BA2F1.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF0F
Deuteranopia (green-blind)
#C4B03B
Tritanopia (blue-blind)
#AEB0A0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a4ba2f;
/* rgb */ color: rgb(164, 186, 47);
/* oklch */ color: oklch(74.7% 0.159 118.4);
Tailwind
colors: {
  custom: {
    50: '#c2ce72',
    500: '#a4ba2f',
    950: '#000000',
  },
}
SCSS
$custom: #a4ba2f;
$custom-light: #c2ce72;
$custom-dark: #000000;
JSON
{
  "hex": "#a4ba2f",
  "rgb": {
    "r": 164,
    "g": 186,
    "b": 47
  },
  "hsl": {
    "h": 69.496,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.74742,
    "c": 0.15871,
    "h": 118.4
  },
  "luminance": 0.43216
}

Semantic roles & 50–950 ramp

primary
#A4BA2F
secondary
#887CC9
accent
#45E35E
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A4BA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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