#A2B627#A2B627

#A2B627 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 73.6% C 0.159 H 117.7°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#A2B627
RGBrgb(162, 182, 39)
HSLhsl(68, 65%, 43%)
HSVhsv(68, 79%, 71%)
CMYKcmyk(11%, 0%, 78.6%, 28.6%)
CIE-LABlab(70.37, -24.49, 64.45)
CIE-LCHlch(70.37, 68.95, 110.80°)
OKLaboklab(73.63% -0.074 0.1409)
OKLCHoklch(73.63% 0.159 117.7)
XYZxyz(31.9952, 41.2841, 8.2022)
Luminance0.4128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B627 #3B27B6
analogous
#B68227 #A2B627 #5AB627
triadic
#A2B627 #27A2B6 #B627A2
tetradic
#A2B627 #27B682 #3B27B6 #B6275A
square
#A2B627 #27B682 #3B27B6 #B6275A
split-complementary
#A2B627 #275AB6 #8227B6
monochromatic
#485111 #75841C #A2B627 #C2D743 #D3E276

Accessibility & contrast

On white

2.27
#A2B627 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#A2B627 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B627
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B627#FFFFFF#000000##000000
##A2B6271.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#C1AD35
Tritanopia (blue-blind)
#ACAC9C
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a2b627;
/* rgb */ color: rgb(162, 182, 39);
/* oklch */ color: oklch(73.6% 0.159 117.7);
Tailwind
colors: {
  custom: {
    50: '#c1cb6e',
    500: '#a2b627',
    950: '#000000',
  },
}
SCSS
$custom: #a2b627;
$custom-light: #c1cb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b627",
  "rgb": {
    "r": 162,
    "g": 182,
    "b": 39
  },
  "hsl": {
    "h": 68.392,
    "s": 64.706,
    "l": 43.333
  },
  "oklch": {
    "l": 0.73625,
    "c": 0.15912,
    "h": 117.7
  },
  "luminance": 0.41284
}

Semantic roles & 50–950 ramp

primary
#A2B627
secondary
#7C70C9
accent
#40E858
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B627

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

Preview Lab → · Contrast checker → · Palette generator →

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