#A8B427#A8B427

#A8B427 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 73.6% C 0.155 H 114.6°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#A8B427
RGBrgb(168, 180, 39)
HSLhsl(65, 64%, 43%)
HSVhsv(65, 78%, 71%)
CMYKcmyk(6.7%, 0%, 78.3%, 29.4%)
CIE-LABlab(70.26, -20.95, 64.52)
CIE-LCHlch(70.26, 67.83, 107.99°)
OKLaboklab(73.64% -0.0645 0.1408)
OKLCHoklch(73.64% 0.155 114.6)
XYZxyz(32.8369, 41.1145, 8.1251)
Luminance0.4111 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B427 #3327B4
analogous
#B47927 #A8B427 #62B427
triadic
#A8B427 #27A8B4 #B427A8
tetradic
#A8B427 #27B479 #3327B4 #B42762
square
#A8B427 #27B479 #3327B4 #B42762
split-complementary
#A8B427 #2762B4 #7927B4
monochromatic
#4A4F11 #79821C #A8B427 #C9D642 #D8E174

Accessibility & contrast

On white

2.28
#A8B427 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#A8B427 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B427
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B427#FFFFFF#000000##000000
##A8B4271.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB00
Deuteranopia (green-blind)
#C1AD34
Tritanopia (blue-blind)
#B3A99A
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a8b427;
/* rgb */ color: rgb(168, 180, 39);
/* oklch */ color: oklch(73.6% 0.155 114.6);
Tailwind
colors: {
  custom: {
    50: '#c6ca6e',
    500: '#a8b427',
    950: '#000000',
  },
}
SCSS
$custom: #a8b427;
$custom-light: #c6ca6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b427",
  "rgb": {
    "r": 168,
    "g": 180,
    "b": 39
  },
  "hsl": {
    "h": 65.106,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.73642,
    "c": 0.15489,
    "h": 114.6
  },
  "luminance": 0.41114
}

Semantic roles & 50–950 ramp

primary
#A8B427
secondary
#766FC8
accent
#40E74F
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B427

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

Preview Lab → · Contrast checker → · Palette generator →

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