#A8B62B#A8B62B

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

Color values

HEX#A8B62B
RGBrgb(168, 182, 43)
HSLhsl(66, 62%, 44%)
HSVhsv(66, 76%, 71%)
CMYKcmyk(7.7%, 0%, 76.4%, 28.6%)
CIE-LABlab(70.84, -21.78, 63.82)
CIE-LCHlch(70.84, 67.43, 108.84°)
OKLaboklab(74.12% -0.0665 0.14)
OKLCHoklch(74.12% 0.155 115.4)
XYZxyz(33.3134, 41.9557, 8.6284)
Luminance0.4195 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B62B #392BB6
analogous
#B67F2B #A8B62B #63B62B
triadic
#A8B62B #2BA8B6 #B62BA8
tetradic
#A8B62B #2BB67F #392BB6 #B62B63
square
#A8B62B #2BB67F #392BB6 #B62B63
split-complementary
#A8B62B #2B63B6 #7F2BB6
monochromatic
#4D5314 #7A841F #A8B62B #C6D44A #D6E07B

Accessibility & contrast

On white

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

On black

9.39
#A8B62B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B62B
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B62B#FFFFFF#000000##000000
##A8B62B1.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8b62b;
/* rgb */ color: rgb(168, 182, 43);
/* oklch */ color: oklch(74.1% 0.155 115.4);
Tailwind
colors: {
  custom: {
    50: '#c5cb70',
    500: '#a8b62b',
    950: '#000000',
  },
}
SCSS
$custom: #a8b62b;
$custom-light: #c5cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b62b",
  "rgb": {
    "r": 168,
    "g": 182,
    "b": 43
  },
  "hsl": {
    "h": 66.043,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.74117,
    "c": 0.15502,
    "h": 115.4
  },
  "luminance": 0.41955
}

Semantic roles & 50–950 ramp

primary
#A8B62B
secondary
#7D75C8
accent
#43E553
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B62B

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

Preview Lab → · Contrast checker → · Palette generator →

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