#A1B034#A1B034

#A1B034 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.3% C 0.145 H 116.2°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#A1B034
RGBrgb(161, 176, 52)
HSLhsl(67, 54%, 45%)
HSVhsv(67, 70%, 69%)
CMYKcmyk(8.5%, 0%, 70.5%, 31%)
CIE-LABlab(68.66, -21.32, 58.44)
CIE-LCHlch(68.66, 62.21, 110.05°)
OKLaboklab(72.25% -0.0641 0.1305)
OKLCHoklch(72.25% 0.145 116.2)
XYZxyz(30.8439, 38.8761, 9.1272)
Luminance0.3888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A1B034 #4334B0
analogous
#B08134 #A1B034 #63B034
triadic
#A1B034 #34A1B0 #B034A1
tetradic
#A1B034 #34B081 #4334B0 #B03463
square
#A1B034 #34B081 #4334B0 #B03463
split-complementary
#A1B034 #3463B0 #8134B0
monochromatic
#4B5218 #768126 #A1B034 #BECD55 #D0DB84

Accessibility & contrast

On white

2.39
#A1B034 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#A1B034 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A1B034
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A1B034#FFFFFF#000000##000000
##A1B0341.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA71F
Deuteranopia (green-blind)
#BBA83E
Tritanopia (blue-blind)
#ABA698
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #a1b034;
/* rgb */ color: rgb(161, 176, 52);
/* oklch */ color: oklch(72.3% 0.145 116.2);
Tailwind
colors: {
  custom: {
    50: '#c0c774',
    500: '#a1b034',
    950: '#000000',
  },
}
SCSS
$custom: #a1b034;
$custom-light: #c0c774;
$custom-dark: #000000;
JSON
{
  "hex": "#a1b034",
  "rgb": {
    "r": 161,
    "g": 176,
    "b": 52
  },
  "hsl": {
    "h": 67.258,
    "s": 54.386,
    "l": 44.706
  },
  "oklch": {
    "l": 0.72253,
    "c": 0.14533,
    "h": 116.2
  },
  "luminance": 0.38876
}

Semantic roles & 50–950 ramp

primary
#A1B034
secondary
#847CC4
accent
#4ADE5C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A1B034

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

Preview Lab → · Contrast checker → · Palette generator →

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