#A2B12C#A2B12C

#A2B12C is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.5% C 0.151 H 116.0°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#A2B12C
RGBrgb(162, 177, 44)
HSLhsl(67, 60%, 43%)
HSVhsv(67, 75%, 69%)
CMYKcmyk(8.5%, 0%, 75.1%, 30.6%)
CIE-LABlab(68.97, -21.80, 61.59)
CIE-LCHlch(68.97, 65.34, 109.49°)
OKLaboklab(72.51% -0.0662 0.1357)
OKLCHoklch(72.51% 0.151 116)
XYZxyz(31.0779, 39.3080, 8.3324)
Luminance0.3931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B12C #3B2CB1
analogous
#B17D2C #A2B12C #5FB12C
triadic
#A2B12C #2CA2B1 #B12CA2
tetradic
#A2B12C #2CB17D #3B2CB1 #B12C5F
square
#A2B12C #2CB17D #3B2CB1 #B12C5F
split-complementary
#A2B12C #2C5FB1 #7D2CB1
monochromatic
#484F14 #758020 #A2B12C #C2D249 #D3DE7A

Accessibility & contrast

On white

2.37
#A2B12C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#A2B12C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B12C
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B12C#FFFFFF#000000##000000
##A2B12C1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA80D
Deuteranopia (green-blind)
#BCA938
Tritanopia (blue-blind)
#ADA798
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a2b12c;
/* rgb */ color: rgb(162, 177, 44);
/* oklch */ color: oklch(72.5% 0.151 116.0);
Tailwind
colors: {
  custom: {
    50: '#c1c870',
    500: '#a2b12c',
    950: '#000000',
  },
}
SCSS
$custom: #a2b12c;
$custom-light: #c1c870;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b12c",
  "rgb": {
    "r": 162,
    "g": 177,
    "b": 44
  },
  "hsl": {
    "h": 66.767,
    "s": 60.181,
    "l": 43.333
  },
  "oklch": {
    "l": 0.72507,
    "c": 0.15097,
    "h": 116
  },
  "luminance": 0.39308
}

Semantic roles & 50–950 ramp

primary
#A2B12C
secondary
#7C73C6
accent
#44E356
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A2B12C

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

Preview Lab → · Contrast checker → · Palette generator →

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