#A2B234#A2B234

#A2B234 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 72.8% C 0.147 H 116.5°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#A2B234
RGBrgb(162, 178, 52)
HSLhsl(68, 55%, 45%)
HSVhsv(68, 71%, 70%)
CMYKcmyk(9%, 0%, 70.8%, 30.2%)
CIE-LABlab(69.31, -21.90, 59.10)
CIE-LCHlch(69.31, 63.03, 110.33°)
OKLaboklab(72.79% -0.0657 0.1318)
OKLCHoklch(72.79% 0.147 116.5)
XYZxyz(31.4413, 39.7705, 9.2683)
Luminance0.3977 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2B234 #4434B2
analogous
#B28334 #A2B234 #63B234
triadic
#A2B234 #34A2B2 #B234A2
tetradic
#A2B234 #34B283 #4434B2 #B23463
square
#A2B234 #34B283 #4434B2 #B23463
split-complementary
#A2B234 #3463B2 #8334B2
monochromatic
#4C5318 #778326 #A2B234 #BECE56 #D0DB85

Accessibility & contrast

On white

2.35
#A2B234 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#A2B234 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A2B234
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2B234#FFFFFF#000000##000000
##A2B2341.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA91E
Deuteranopia (green-blind)
#BDAA3E
Tritanopia (blue-blind)
#ACA899
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a2b234;
/* rgb */ color: rgb(162, 178, 52);
/* oklch */ color: oklch(72.8% 0.147 116.5);
Tailwind
colors: {
  custom: {
    50: '#c1c874',
    500: '#a2b234',
    950: '#000000',
  },
}
SCSS
$custom: #a2b234;
$custom-light: #c1c874;
$custom-dark: #000000;
JSON
{
  "hex": "#a2b234",
  "rgb": {
    "r": 162,
    "g": 178,
    "b": 52
  },
  "hsl": {
    "h": 67.619,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.72789,
    "c": 0.14728,
    "h": 116.5
  },
  "luminance": 0.3977
}

Semantic roles & 50–950 ramp

primary
#A2B234
secondary
#867DC5
accent
#4ADE5D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A2B234

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

Preview Lab → · Contrast checker → · Palette generator →

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