#A8B134#A8B134

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

Color values

HEX#A8B134
RGBrgb(168, 177, 52)
HSLhsl(64, 55%, 45%)
HSVhsv(64, 71%, 69%)
CMYKcmyk(5.1%, 0%, 70.6%, 30.6%)
CIE-LABlab(69.48, -18.85, 59.43)
CIE-LCHlch(69.48, 62.35, 107.60°)
OKLaboklab(73.04% -0.0576 0.1323)
OKLCHoklch(73.04% 0.144 113.5)
XYZxyz(32.4914, 40.0177, 9.2608)
Luminance0.4002 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B134 #3D34B1
analogous
#B17C34 #A8B134 #6AB134
triadic
#A8B134 #34A8B1 #B134A8
tetradic
#A8B134 #34B17C #3D34B1 #B1346A
square
#A8B134 #34B17C #3D34B1 #B1346A
split-complementary
#A8B134 #346AB1 #7C34B1
monochromatic
#4E5218 #7B8226 #A8B134 #C4CD55 #D5DB84

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8B134#FFFFFF#000000##000000
##A8B1341.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)
#BEA81F
Deuteranopia (green-blind)
#BEAB3E
Tritanopia (blue-blind)
#B3A698
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a8b134;
/* rgb */ color: rgb(168, 177, 52);
/* oklch */ color: oklch(73.0% 0.144 113.5);
Tailwind
colors: {
  custom: {
    50: '#c5c874',
    500: '#a8b134',
    950: '#000000',
  },
}
SCSS
$custom: #a8b134;
$custom-light: #c5c874;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b134",
  "rgb": {
    "r": 168,
    "g": 177,
    "b": 52
  },
  "hsl": {
    "h": 64.32,
    "s": 54.585,
    "l": 44.902
  },
  "oklch": {
    "l": 0.73044,
    "c": 0.14431,
    "h": 113.5
  },
  "luminance": 0.40017
}

Semantic roles & 50–950 ramp

primary
#A8B134
secondary
#817CC5
accent
#4ADE55
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A8B134

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

Preview Lab → · Contrast checker → · Palette generator →

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