#A8B140#A8B140

#A8B140 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.1% C 0.136 H 113.6°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#A8B140
RGBrgb(168, 177, 64)
HSLhsl(65, 47%, 47%)
HSVhsv(65, 64%, 69%)
CMYKcmyk(5.1%, 0%, 63.8%, 30.6%)
CIE-LABlab(69.57, -18.13, 54.75)
CIE-LCHlch(69.57, 57.68, 108.32°)
OKLaboklab(73.14% -0.0543 0.1244)
OKLCHoklch(73.14% 0.136 113.6)
XYZxyz(32.7968, 40.1399, 10.8696)
Luminance0.4014 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B140 #4940B1
analogous
#B18240 #A8B140 #6FB140
triadic
#A8B140 #40A8B1 #B140A8
tetradic
#A8B140 #40B182 #4940B1 #B1406F
square
#A8B140 #40B182 #4940B1 #B1406F
split-complementary
#A8B140 #406FB1 #8240B1
monochromatic
#53571F #7D8430 #A8B140 #C0C866 #D3D893

Accessibility & contrast

On white

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

On black

9.03
#A8B140 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B140
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B140#FFFFFF#000000##000000
##A8B1401.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA931
Deuteranopia (green-blind)
#BDAB48
Tritanopia (blue-blind)
#B3A79A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a8b140;
/* rgb */ color: rgb(168, 177, 64);
/* oklch */ color: oklch(73.1% 0.136 113.6);
Tailwind
colors: {
  custom: {
    50: '#c5c87a',
    500: '#a8b140',
    950: '#000000',
  },
}
SCSS
$custom: #a8b140;
$custom-light: #c5c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b140",
  "rgb": {
    "r": 168,
    "g": 177,
    "b": 64
  },
  "hsl": {
    "h": 64.779,
    "s": 46.888,
    "l": 47.255
  },
  "oklch": {
    "l": 0.73142,
    "c": 0.13575,
    "h": 113.6
  },
  "luminance": 0.40139
}

Semantic roles & 50–950 ramp

primary
#A8B140
secondary
#8E89C3
accent
#51D75C
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A8B140

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

Preview Lab → · Contrast checker → · Palette generator →

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