#A8B135#A8B135

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

Color values

HEX#A8B135
RGBrgb(168, 177, 53)
HSLhsl(64, 54%, 45%)
HSVhsv(64, 70%, 69%)
CMYKcmyk(5.1%, 0%, 70.1%, 30.6%)
CIE-LABlab(69.49, -18.80, 59.06)
CIE-LCHlch(69.49, 61.98, 107.65°)
OKLaboklab(73.05% -0.0573 0.1317)
OKLCHoklch(73.05% 0.144 113.5)
XYZxyz(32.5141, 40.0268, 9.3806)
Luminance0.4003 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B135 #3E35B1
analogous
#B17C35 #A8B135 #6AB135
triadic
#A8B135 #35A8B1 #B135A8
tetradic
#A8B135 #35B17C #3E35B1 #B1356A
square
#A8B135 #35B17C #3E35B1 #B1356A
split-complementary
#A8B135 #356AB1 #7C35B1
monochromatic
#4F5319 #7B8227 #A8B135 #C4CD57 #D5DB86

Accessibility & contrast

On white

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

On black

9.01
#A8B135 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B135
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B135#FFFFFF#000000##000000
##A8B1351.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA820
Deuteranopia (green-blind)
#BEAB3E
Tritanopia (blue-blind)
#B3A699
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a8b135;
/* rgb */ color: rgb(168, 177, 53);
/* oklch */ color: oklch(73.1% 0.144 113.5);
Tailwind
colors: {
  custom: {
    50: '#c5c874',
    500: '#a8b135',
    950: '#000000',
  },
}
SCSS
$custom: #a8b135;
$custom-light: #c5c874;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b135",
  "rgb": {
    "r": 168,
    "g": 177,
    "b": 53
  },
  "hsl": {
    "h": 64.355,
    "s": 53.913,
    "l": 45.098
  },
  "oklch": {
    "l": 0.73051,
    "c": 0.14365,
    "h": 113.5
  },
  "luminance": 0.40026
}

Semantic roles & 50–950 ramp

primary
#A8B135
secondary
#837DC4
accent
#4BDD55
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A8B135

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

Preview Lab → · Contrast checker → · Palette generator →

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