#A8B131#A8B131

#A8B131 is a light, vivid yellow. Relative luminance 0.400; OKLCH L 73.0% C 0.146 H 113.5°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#A8B131
RGBrgb(168, 177, 49)
HSLhsl(64, 57%, 44%)
HSVhsv(64, 72%, 69%)
CMYKcmyk(5.1%, 0%, 72.3%, 30.6%)
CIE-LABlab(69.46, -19.01, 60.50)
CIE-LCHlch(69.46, 63.42, 107.44°)
OKLaboklab(73.02% -0.0583 0.1341)
OKLCHoklch(73.02% 0.146 113.5)
XYZxyz(32.4259, 39.9915, 8.9161)
Luminance0.3999 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B131 #3A31B1
analogous
#B17A31 #A8B131 #68B131
triadic
#A8B131 #31A8B1 #B131A8
tetradic
#A8B131 #31B17A #3A31B1 #B13168
square
#A8B131 #31B17A #3A31B1 #B13168
split-complementary
#A8B131 #3168B1 #7A31B1
monochromatic
#4D5116 #7B8124 #A8B131 #C6CF51 #D6DC80

Accessibility & contrast

On white

2.33
#A8B131 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#A8B131 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B131
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B131#FFFFFF#000000##000000
##A8B1311.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA819
Deuteranopia (green-blind)
#BEAB3B
Tritanopia (blue-blind)
#B3A698
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a8b131;
/* rgb */ color: rgb(168, 177, 49);
/* oklch */ color: oklch(73.0% 0.146 113.5);
Tailwind
colors: {
  custom: {
    50: '#c5c872',
    500: '#a8b131',
    950: '#000000',
  },
}
SCSS
$custom: #a8b131;
$custom-light: #c5c872;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b131",
  "rgb": {
    "r": 168,
    "g": 177,
    "b": 49
  },
  "hsl": {
    "h": 64.219,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.73023,
    "c": 0.14619,
    "h": 113.5
  },
  "luminance": 0.39991
}

Semantic roles & 50–950 ramp

primary
#A8B131
secondary
#7E79C5
accent
#48E053
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B131

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

Preview Lab → · Contrast checker → · Palette generator →

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