#A1B239#A1B239

#A1B239 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 72.7% C 0.144 H 117.0°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#A1B239
RGBrgb(161, 178, 57)
HSLhsl(68, 51%, 46%)
HSVhsv(68, 68%, 70%)
CMYKcmyk(9.6%, 0%, 68%, 30.2%)
CIE-LABlab(69.27, -22.03, 57.12)
CIE-LCHlch(69.27, 61.23, 111.09°)
OKLaboklab(72.75% -0.0655 0.1285)
OKLCHoklch(72.75% 0.144 117)
XYZxyz(31.3575, 39.7136, 9.8837)
Luminance0.3971 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B239 #4A39B2
analogous
#B28639 #A1B239 #64B239
triadic
#A1B239 #39A1B2 #B239A1
tetradic
#A1B239 #39B286 #4A39B2 #B23964
square
#A1B239 #39B286 #4A39B2 #B23964
split-complementary
#A1B239 #3964B2 #8639B2
monochromatic
#4D551B #77842A #A1B239 #BCCB5D #CFDA8B

Accessibility & contrast

On white

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

On black

8.94
#A1B239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B239
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B239#FFFFFF#000000##000000
##A1B2391.002.358.948.94
#FFFFFF2.351.0021.0021.00
#0000008.9421.001.001.00
##0000008.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA927
Deuteranopia (green-blind)
#BCAA42
Tritanopia (blue-blind)
#ABA89A
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a1b239;
/* rgb */ color: rgb(161, 178, 57);
/* oklch */ color: oklch(72.7% 0.144 117.0);
Tailwind
colors: {
  custom: {
    50: '#c0c976',
    500: '#a1b239',
    950: '#000000',
  },
}
SCSS
$custom: #a1b239;
$custom-light: #c0c976;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b239",
  "rgb": {
    "r": 161,
    "g": 178,
    "b": 57
  },
  "hsl": {
    "h": 68.43,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.72748,
    "c": 0.14424,
    "h": 117
  },
  "luminance": 0.39713
}

Semantic roles & 50–950 ramp

primary
#A1B239
secondary
#8C82C4
accent
#4DDB61
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A1B239

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

Preview Lab → · Contrast checker → · Palette generator →

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