#A8B726#A8B726

#A8B726 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.3% C 0.159 H 115.7°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#A8B726
RGBrgb(168, 183, 38)
HSLhsl(66, 66%, 43%)
HSVhsv(66, 79%, 72%)
CMYKcmyk(8.2%, 0%, 79.2%, 28.2%)
CIE-LABlab(71.10, -22.48, 65.56)
CIE-LCHlch(71.10, 69.31, 108.92°)
OKLaboklab(74.32% -0.0688 0.1429)
OKLCHoklch(74.32% 0.159 115.7)
XYZxyz(33.4327, 42.3323, 8.2431)
Luminance0.4233 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B726 #3526B7
analogous
#B77D26 #A8B726 #5FB726
triadic
#A8B726 #26A8B7 #B726A8
tetradic
#A8B726 #26B77D #3526B7 #B7265F
square
#A8B726 #26B77D #3526B7 #B7265F
split-complementary
#A8B726 #265FB7 #7D26B7
monochromatic
#4B5211 #79841B #A8B726 #C8D842 #D7E275

Accessibility & contrast

On white

2.22
#A8B726 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#A8B726 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B726
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B726#FFFFFF#000000##000000
##A8B7261.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#C3AF34
Tritanopia (blue-blind)
#B3AC9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a8b726;
/* rgb */ color: rgb(168, 183, 38);
/* oklch */ color: oklch(74.3% 0.159 115.7);
Tailwind
colors: {
  custom: {
    50: '#c6cc6e',
    500: '#a8b726',
    950: '#000000',
  },
}
SCSS
$custom: #a8b726;
$custom-light: #c6cc6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b726",
  "rgb": {
    "r": 168,
    "g": 183,
    "b": 38
  },
  "hsl": {
    "h": 66.207,
    "s": 65.611,
    "l": 43.333
  },
  "oklch": {
    "l": 0.74317,
    "c": 0.15858,
    "h": 115.7
  },
  "luminance": 0.42332
}

Semantic roles & 50–950 ramp

primary
#A8B726
secondary
#786FCA
accent
#3FE951
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B726

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

Preview Lab → · Contrast checker → · Palette generator →

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