#A1B236#A1B236

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

Color values

HEX#A1B236
RGBrgb(161, 178, 54)
HSLhsl(68, 53%, 45%)
HSVhsv(68, 70%, 70%)
CMYKcmyk(9.6%, 0%, 69.7%, 30.2%)
CIE-LABlab(69.24, -22.21, 58.26)
CIE-LCHlch(69.24, 62.35, 110.86°)
OKLaboklab(72.72% -0.0663 0.1304)
OKLCHoklch(72.72% 0.146 117)
XYZxyz(31.2849, 39.6846, 9.5011)
Luminance0.3968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B236 #4736B2
analogous
#B28536 #A1B236 #63B236
triadic
#A1B236 #36A1B2 #B236A1
tetradic
#A1B236 #36B285 #4736B2 #B23663
square
#A1B236 #36B285 #4736B2 #B23663
split-complementary
#A1B236 #3663B2 #8536B2
monochromatic
#4C541A #778328 #A1B236 #BDCD59 #CFDB88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A1B236#FFFFFF#000000##000000
##A1B2361.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)
#BEA922
Deuteranopia (green-blind)
#BCAA40
Tritanopia (blue-blind)
#ABA899
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a1b236;
/* rgb */ color: rgb(161, 178, 54);
/* oklch */ color: oklch(72.7% 0.146 117.0);
Tailwind
colors: {
  custom: {
    50: '#c0c975',
    500: '#a1b236',
    950: '#000000',
  },
}
SCSS
$custom: #a1b236;
$custom-light: #c0c975;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b236",
  "rgb": {
    "r": 161,
    "g": 178,
    "b": 54
  },
  "hsl": {
    "h": 68.226,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.72725,
    "c": 0.1463,
    "h": 117
  },
  "luminance": 0.39684
}

Semantic roles & 50–950 ramp

primary
#A1B236
secondary
#897FC5
accent
#4BDD5F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A1B236

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

Preview Lab → · Contrast checker → · Palette generator →

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