#A8B125#A8B125

#A8B125 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.0% C 0.153 H 113.4°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#A8B125
RGBrgb(168, 177, 37)
HSLhsl(64, 65%, 42%)
HSVhsv(64, 79%, 69%)
CMYKcmyk(5.1%, 0%, 79.1%, 30.6%)
CIE-LABlab(69.40, -19.53, 64.34)
CIE-LCHlch(69.40, 67.24, 106.88°)
OKLaboklab(72.95% -0.0607 0.1401)
OKLCHoklch(72.95% 0.153 113.4)
XYZxyz(32.2056, 39.9034, 7.7555)
Luminance0.3990 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B125 #2E25B1
analogous
#B17425 #A8B125 #62B125
triadic
#A8B125 #25A8B1 #B125A8
tetradic
#A8B125 #25B174 #2E25B1 #B12562
square
#A8B125 #25B174 #2E25B1 #B12562
split-complementary
#A8B125 #2562B1 #7425B1
monochromatic
#484C10 #787E1A #A8B125 #CDD63D #DAE16F

Accessibility & contrast

On white

2.34
#A8B125 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#A8B125 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B125
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B125#FFFFFF#000000##000000
##A8B1251.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA800
Deuteranopia (green-blind)
#BFAB32
Tritanopia (blue-blind)
#B4A697
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a8b125;
/* rgb */ color: rgb(168, 177, 37);
/* oklch */ color: oklch(73.0% 0.153 113.4);
Tailwind
colors: {
  custom: {
    50: '#c6c86d',
    500: '#a8b125',
    950: '#000000',
  },
}
SCSS
$custom: #a8b125;
$custom-light: #c6c86d;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b125",
  "rgb": {
    "r": 168,
    "g": 177,
    "b": 37
  },
  "hsl": {
    "h": 63.857,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.72953,
    "c": 0.15268,
    "h": 113.4
  },
  "luminance": 0.39903
}

Semantic roles & 50–950 ramp

primary
#A8B125
secondary
#706AC8
accent
#3FE84A
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #A8B125

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

Preview Lab → · Contrast checker → · Palette generator →

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