#A8B626#A8B626

#A8B626 is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.1% C 0.158 H 115.4°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#A8B626
RGBrgb(168, 182, 38)
HSLhsl(66, 65%, 43%)
HSVhsv(66, 79%, 71%)
CMYKcmyk(7.7%, 0%, 79.1%, 28.6%)
CIE-LABlab(70.82, -21.98, 65.31)
CIE-LCHlch(70.82, 68.91, 108.60°)
OKLaboklab(74.09% -0.0674 0.1423)
OKLCHoklch(74.09% 0.158 115.4)
XYZxyz(33.2272, 41.9212, 8.1746)
Luminance0.4192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B626 #3426B6
analogous
#B67C26 #A8B626 #60B626
triadic
#A8B626 #26A8B6 #B626A8
tetradic
#A8B626 #26B67C #3426B6 #B62660
square
#A8B626 #26B67C #3426B6 #B62660
split-complementary
#A8B626 #2660B6 #7C26B6
monochromatic
#4B5111 #79831B #A8B626 #C9D742 #D7E274

Accessibility & contrast

On white

2.24
#A8B626 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#A8B626 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B626
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B626#FFFFFF#000000##000000
##A8B6261.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#C2AE34
Tritanopia (blue-blind)
#B3AB9C
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a8b626;
/* rgb */ color: rgb(168, 182, 38);
/* oklch */ color: oklch(74.1% 0.158 115.4);
Tailwind
colors: {
  custom: {
    50: '#c6cb6e',
    500: '#a8b626',
    950: '#000000',
  },
}
SCSS
$custom: #a8b626;
$custom-light: #c6cb6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b626",
  "rgb": {
    "r": 168,
    "g": 182,
    "b": 38
  },
  "hsl": {
    "h": 65.833,
    "s": 65.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.7409,
    "c": 0.1575,
    "h": 115.4
  },
  "luminance": 0.41921
}

Semantic roles & 50–950 ramp

primary
#A8B626
secondary
#776EC9
accent
#3FE850
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B626

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

Preview Lab → · Contrast checker → · Palette generator →

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