#A8B62D#A8B62D

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

Color values

HEX#A8B62D
RGBrgb(168, 182, 45)
HSLhsl(66, 60%, 45%)
HSVhsv(66, 75%, 71%)
CMYKcmyk(7.7%, 0%, 75.3%, 28.6%)
CIE-LABlab(70.85, -21.69, 63.19)
CIE-LCHlch(70.85, 66.81, 108.95°)
OKLaboklab(74.13% -0.0661 0.139)
OKLCHoklch(74.13% 0.154 115.4)
XYZxyz(33.3510, 41.9707, 8.8264)
Luminance0.4197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B62D #3B2DB6
analogous
#B67F2D #A8B62D #64B62D
triadic
#A8B62D #2DA8B6 #B62DA8
tetradic
#A8B62D #2DB67F #3B2DB6 #B62D64
square
#A8B62D #2DB67F #3B2DB6 #B62D64
split-complementary
#A8B62D #2D64B6 #7F2DB6
monochromatic
#4D5415 #7B8521 #A8B62D #C5D34D #D5DF7E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8B62D#FFFFFF#000000##000000
##A8B62D1.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)
#C3AD0C
Deuteranopia (green-blind)
#C2AE39
Tritanopia (blue-blind)
#B3AB9C
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a8b62d;
/* rgb */ color: rgb(168, 182, 45);
/* oklch */ color: oklch(74.1% 0.154 115.4);
Tailwind
colors: {
  custom: {
    50: '#c5cb71',
    500: '#a8b62d',
    950: '#000000',
  },
}
SCSS
$custom: #a8b62d;
$custom-light: #c5cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b62d",
  "rgb": {
    "r": 168,
    "g": 182,
    "b": 45
  },
  "hsl": {
    "h": 66.131,
    "s": 60.352,
    "l": 44.51
  },
  "oklch": {
    "l": 0.74129,
    "c": 0.15395,
    "h": 115.4
  },
  "luminance": 0.4197
}

Semantic roles & 50–950 ramp

primary
#A8B62D
secondary
#7F77C8
accent
#44E355
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B62D

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

Preview Lab → · Contrast checker → · Palette generator →

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