#A2B334#A2B334

#A2B334 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.0% C 0.148 H 116.9°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#A2B334
RGBrgb(162, 179, 52)
HSLhsl(68, 55%, 45%)
HSVhsv(68, 71%, 70%)
CMYKcmyk(9.5%, 0%, 70.9%, 29.8%)
CIE-LABlab(69.59, -22.39, 59.38)
CIE-LCHlch(69.59, 63.46, 110.66°)
OKLaboklab(73.02% -0.0671 0.1324)
OKLCHoklch(73.02% 0.148 116.9)
XYZxyz(31.6410, 40.1699, 9.3349)
Luminance0.4017 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B334 #4534B3
analogous
#B38434 #A2B334 #63B334
triadic
#A2B334 #34A2B3 #B334A2
tetradic
#A2B334 #34B384 #4534B3 #B33463
square
#A2B334 #34B384 #4534B3 #B33463
split-complementary
#A2B334 #3463B3 #8434B3
monochromatic
#4C5418 #778426 #A2B334 #BECE56 #D0DC86

Accessibility & contrast

On white

2.32
#A2B334 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A2B334#FFFFFF#000000##000000
##A2B3341.002.329.039.03
#FFFFFF2.321.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA91E
Deuteranopia (green-blind)
#BEAB3E
Tritanopia (blue-blind)
#ACA99A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a2b334;
/* rgb */ color: rgb(162, 179, 52);
/* oklch */ color: oklch(73.0% 0.148 116.9);
Tailwind
colors: {
  custom: {
    50: '#c1c974',
    500: '#a2b334',
    950: '#000000',
  },
}
SCSS
$custom: #a2b334;
$custom-light: #c1c974;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b334",
  "rgb": {
    "r": 162,
    "g": 179,
    "b": 52
  },
  "hsl": {
    "h": 68.031,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.73017,
    "c": 0.14842,
    "h": 116.9
  },
  "luminance": 0.4017
}

Semantic roles & 50–950 ramp

primary
#A2B334
secondary
#877DC5
accent
#49DE5D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A2B334

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

Preview Lab → · Contrast checker → · Palette generator →

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