#A1B438#A1B438

#A1B438 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.2% C 0.147 H 117.7°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#A1B438
RGBrgb(161, 180, 56)
HSLhsl(69, 53%, 46%)
HSVhsv(69, 69%, 71%)
CMYKcmyk(10.6%, 0%, 68.9%, 29.4%)
CIE-LABlab(69.83, -23.08, 58.08)
CIE-LCHlch(69.83, 62.50, 111.67°)
OKLaboklab(73.2% -0.0685 0.1304)
OKLCHoklch(73.2% 0.147 117.7)
XYZxyz(31.7337, 40.5054, 9.8872)
Luminance0.4051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B438 #4B38B4
analogous
#B48938 #A1B438 #63B438
triadic
#A1B438 #38A1B4 #B438A1
tetradic
#A1B438 #38B489 #4B38B4 #B43863
square
#A1B438 #38B489 #4B38B4 #B43863
split-complementary
#A1B438 #3863B4 #8938B4
monochromatic
#4D571B #778529 #A1B438 #BBCD5D #CFDB8B

Accessibility & contrast

On white

2.31
#A1B438 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#A1B438 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B438
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B438#FFFFFF#000000##000000
##A1B4381.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA25
Deuteranopia (green-blind)
#BEAB42
Tritanopia (blue-blind)
#ABAA9B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a1b438;
/* rgb */ color: rgb(161, 180, 56);
/* oklch */ color: oklch(73.2% 0.147 117.7);
Tailwind
colors: {
  custom: {
    50: '#c0ca76',
    500: '#a1b438',
    950: '#000000',
  },
}
SCSS
$custom: #a1b438;
$custom-light: #c0ca76;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b438",
  "rgb": {
    "r": 161,
    "g": 180,
    "b": 56
  },
  "hsl": {
    "h": 69.194,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.73198,
    "c": 0.14728,
    "h": 117.7
  },
  "luminance": 0.40505
}

Semantic roles & 50–950 ramp

primary
#A1B438
secondary
#8D82C5
accent
#4CDC62
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A1B438

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

Preview Lab → · Contrast checker → · Palette generator →

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