#A2B527#A2B527

#A2B527 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.4% C 0.158 H 117.4°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#A2B527
RGBrgb(162, 181, 39)
HSLhsl(68, 65%, 43%)
HSVhsv(68, 78%, 71%)
CMYKcmyk(10.5%, 0%, 78.5%, 29%)
CIE-LABlab(70.09, -24.00, 64.20)
CIE-LCHlch(70.09, 68.53, 110.50°)
OKLaboklab(73.4% -0.0726 0.1403)
OKLCHoklch(73.4% 0.158 117.4)
XYZxyz(31.7912, 40.8760, 8.1342)
Luminance0.4088 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B527 #3A27B5
analogous
#B58127 #A2B527 #5BB527
triadic
#A2B527 #27A2B5 #B527A2
tetradic
#A2B527 #27B581 #3A27B5 #B5275B
square
#A2B527 #27B581 #3A27B5 #B5275B
split-complementary
#A2B527 #275BB5 #8127B5
monochromatic
#485011 #75831C #A2B527 #C3D643 #D3E175

Accessibility & contrast

On white

2.29
#A2B527 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#A2B527 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B527
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B527#FFFFFF#000000##000000
##A2B5271.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AB00
Deuteranopia (green-blind)
#C0AC35
Tritanopia (blue-blind)
#ACAB9B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a2b527;
/* rgb */ color: rgb(162, 181, 39);
/* oklch */ color: oklch(73.4% 0.158 117.4);
Tailwind
colors: {
  custom: {
    50: '#c1cb6e',
    500: '#a2b527',
    950: '#000000',
  },
}
SCSS
$custom: #a2b527;
$custom-light: #c1cb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b527",
  "rgb": {
    "r": 162,
    "g": 181,
    "b": 39
  },
  "hsl": {
    "h": 68.028,
    "s": 64.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.73395,
    "c": 0.15801,
    "h": 117.4
  },
  "luminance": 0.40876
}

Semantic roles & 50–950 ramp

primary
#A2B527
secondary
#7B6FC9
accent
#40E857
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B527

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

Preview Lab → · Contrast checker → · Palette generator →

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