#A2B927#A2B927

#A2B927 is a light, vivid yellow. Relative luminance 0.425; OKLCH L 74.3% C 0.162 H 118.7°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#A2B927
RGBrgb(162, 185, 39)
HSLhsl(69, 65%, 44%)
HSVhsv(69, 79%, 73%)
CMYKcmyk(12.4%, 0%, 78.9%, 27.5%)
CIE-LABlab(71.23, -25.95, 65.23)
CIE-LCHlch(71.23, 70.20, 111.69°)
OKLaboklab(74.32% -0.078 0.1425)
OKLCHoklch(74.32% 0.162 118.7)
XYZxyz(32.6162, 42.5261, 8.4092)
Luminance0.4253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B927 #3E27B9
analogous
#B98727 #A2B927 #59B927
triadic
#A2B927 #27A2B9 #B927A2
tetradic
#A2B927 #27B987 #3E27B9 #B92759
square
#A2B927 #27B987 #3E27B9 #B92759
split-complementary
#A2B927 #2759B9 #8727B9
monochromatic
#495412 #76861C #A2B927 #C1D845 #D2E378

Accessibility & contrast

On white

2.21
#A2B927 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.51
#A2B927 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B927
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B927#FFFFFF#000000##000000
##A2B9271.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AE00
Deuteranopia (green-blind)
#C3AF35
Tritanopia (blue-blind)
#ACAF9E
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a2b927;
/* rgb */ color: rgb(162, 185, 39);
/* oklch */ color: oklch(74.3% 0.162 118.7);
Tailwind
colors: {
  custom: {
    50: '#c1ce6e',
    500: '#a2b927',
    950: '#000000',
  },
}
SCSS
$custom: #a2b927;
$custom-light: #c1ce6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b927",
  "rgb": {
    "r": 162,
    "g": 185,
    "b": 39
  },
  "hsl": {
    "h": 69.452,
    "s": 65.179,
    "l": 43.922
  },
  "oklch": {
    "l": 0.74315,
    "c": 0.16248,
    "h": 118.7
  },
  "luminance": 0.42526
}

Semantic roles & 50–950 ramp

primary
#A2B927
secondary
#8072CA
accent
#40E85A
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B927

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

Preview Lab → · Contrast checker → · Palette generator →

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