#A8B625#A8B625

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

Color values

HEX#A8B625
RGBrgb(168, 182, 37)
HSLhsl(66, 66%, 43%)
HSVhsv(66, 80%, 71%)
CMYKcmyk(7.7%, 0%, 79.7%, 28.6%)
CIE-LABlab(70.81, -22.02, 65.59)
CIE-LCHlch(70.81, 69.19, 108.56°)
OKLaboklab(74.09% -0.0676 0.1428)
OKLCHoklch(74.09% 0.158 115.3)
XYZxyz(33.2113, 41.9149, 8.0908)
Luminance0.4191 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B625 #3325B6
analogous
#B67B25 #A8B625 #5FB625
triadic
#A8B625 #25A8B6 #B625A8
tetradic
#A8B625 #25B67B #3325B6 #B6255F
square
#A8B625 #25B67B #3325B6 #B6255F
split-complementary
#A8B625 #255FB6 #7B25B6
monochromatic
#4A5010 #79831B #A8B625 #C9D840 #D8E373

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8B625#FFFFFF#000000##000000
##A8B6251.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)
#C2AE33
Tritanopia (blue-blind)
#B3AB9C
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a8b625;
/* rgb */ color: rgb(168, 182, 37);
/* oklch */ color: oklch(74.1% 0.158 115.3);
Tailwind
colors: {
  custom: {
    50: '#c6cb6d',
    500: '#a8b625',
    950: '#000000',
  },
}
SCSS
$custom: #a8b625;
$custom-light: #c6cb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b625",
  "rgb": {
    "r": 168,
    "g": 182,
    "b": 37
  },
  "hsl": {
    "h": 65.793,
    "s": 66.21,
    "l": 42.941
  },
  "oklch": {
    "l": 0.74085,
    "c": 0.15797,
    "h": 115.3
  },
  "luminance": 0.41914
}

Semantic roles & 50–950 ramp

primary
#A8B625
secondary
#766DCA
accent
#3FE94F
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B625

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

Preview Lab → · Contrast checker → · Palette generator →

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