#A2B23F#A2B23F

#A2B23F is a light, vivid yellow. Relative luminance 0.399; OKLCH L 72.9% C 0.139 H 116.7°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#A2B23F
RGBrgb(162, 178, 63)
HSLhsl(68, 48%, 47%)
HSVhsv(68, 65%, 70%)
CMYKcmyk(9%, 0%, 64.6%, 30.2%)
CIE-LABlab(69.39, -21.23, 54.84)
CIE-LCHlch(69.39, 58.80, 111.16°)
OKLaboklab(72.88% -0.0628 0.1246)
OKLCHoklch(72.88% 0.139 116.7)
XYZxyz(31.7186, 39.8814, 10.7286)
Luminance0.3988 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B23F #4F3FB2
analogous
#B2893F #A2B23F #68B23F
triadic
#A2B23F #3FA2B2 #B23FA2
tetradic
#A2B23F #3FB289 #4F3FB2 #B23F68
square
#A2B23F #3FB289 #4F3FB2 #B23F68
split-complementary
#A2B23F #3F68B2 #893FB2
monochromatic
#50581F #79852F #A2B23F #BBC966 #CFD993

Accessibility & contrast

On white

2.34
#A2B23F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#A2B23F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B23F
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B23F#FFFFFF#000000##000000
##A2B23F1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA930
Deuteranopia (green-blind)
#BCAA47
Tritanopia (blue-blind)
#ACA89A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a2b23f;
/* rgb */ color: rgb(162, 178, 63);
/* oklch */ color: oklch(72.9% 0.139 116.7);
Tailwind
colors: {
  custom: {
    50: '#c0c97a',
    500: '#a2b23f',
    950: '#000000',
  },
}
SCSS
$custom: #a2b23f;
$custom-light: #c0c97a;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b23f",
  "rgb": {
    "r": 162,
    "g": 178,
    "b": 63
  },
  "hsl": {
    "h": 68.348,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.72878,
    "c": 0.13949,
    "h": 116.7
  },
  "luminance": 0.39881
}

Semantic roles & 50–950 ramp

primary
#A2B23F
secondary
#9189C4
accent
#50D763
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#131309
muted
#82827B

Preview Lab

Preview with #A2B23F

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

Preview Lab → · Contrast checker → · Palette generator →

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