#A1B124#A1B124

#A1B124 is a light, vivid yellow. Relative luminance 0.391; OKLCH L 72.4% C 0.155 H 116.3°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#A1B124
RGBrgb(161, 177, 36)
HSLhsl(67, 66%, 42%)
HSVhsv(67, 80%, 69%)
CMYKcmyk(9%, 0%, 79.7%, 30.6%)
CIE-LABlab(68.86, -22.57, 63.94)
CIE-LCHlch(68.86, 67.81, 109.44°)
OKLaboklab(72.38% -0.0688 0.1393)
OKLCHoklch(72.38% 0.155 116.3)
XYZxyz(30.7394, 39.1492, 7.6059)
Luminance0.3915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B124 #3424B1
analogous
#B17B24 #A1B124 #5AB124
triadic
#A1B124 #24A1B1 #B124A1
tetradic
#A1B124 #24B17B #3424B1 #B1245A
square
#A1B124 #24B17B #3424B1 #B1245A
split-complementary
#A1B124 #245AB1 #7B24B1
monochromatic
#444B0F #737E1A #A1B124 #C5D73B #D4E16E

Accessibility & contrast

On white

2.38
#A1B124 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.83
#A1B124 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B124
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B124#FFFFFF#000000##000000
##A1B1241.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#BCA932
Tritanopia (blue-blind)
#ACA797
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #a1b124;
/* rgb */ color: rgb(161, 177, 36);
/* oklch */ color: oklch(72.4% 0.155 116.3);
Tailwind
colors: {
  custom: {
    50: '#c1c86c',
    500: '#a1b124',
    950: '#000000',
  },
}
SCSS
$custom: #a1b124;
$custom-light: #c1c86c;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b124",
  "rgb": {
    "r": 161,
    "g": 177,
    "b": 36
  },
  "hsl": {
    "h": 66.809,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.72384,
    "c": 0.15539,
    "h": 116.3
  },
  "luminance": 0.39149
}

Semantic roles & 50–950 ramp

primary
#A1B124
secondary
#7469C8
accent
#3FE952
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A1B124

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

Preview Lab → · Contrast checker → · Palette generator →

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