#A8B62E#A8B62E

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

Color values

HEX#A8B62E
RGBrgb(168, 182, 46)
HSLhsl(66, 60%, 45%)
HSVhsv(66, 75%, 71%)
CMYKcmyk(7.7%, 0%, 74.7%, 28.6%)
CIE-LABlab(70.86, -21.65, 62.86)
CIE-LCHlch(70.86, 66.48, 109.00°)
OKLaboklab(74.13% -0.0659 0.1385)
OKLCHoklch(74.13% 0.153 115.4)
XYZxyz(33.3705, 41.9785, 8.9290)
Luminance0.4198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B62E #3C2EB6
analogous
#B6802E #A8B62E #64B62E
triadic
#A8B62E #2EA8B6 #B62EA8
tetradic
#A8B62E #2EB680 #3C2EB6 #B62E64
square
#A8B62E #2EB680 #3C2EB6 #B62E64
split-complementary
#A8B62E #2E64B6 #802EB6
monochromatic
#4E5415 #7B8522 #A8B62E #C5D24F #D5DF80

Accessibility & contrast

On white

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

On black

9.40
#A8B62E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B62E
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B62E#FFFFFF#000000##000000
##A8B62E1.002.249.409.40
#FFFFFF2.241.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8b62e;
/* rgb */ color: rgb(168, 182, 46);
/* oklch */ color: oklch(74.1% 0.153 115.4);
Tailwind
colors: {
  custom: {
    50: '#c5cb71',
    500: '#a8b62e',
    950: '#000000',
  },
}
SCSS
$custom: #a8b62e;
$custom-light: #c5cb71;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b62e",
  "rgb": {
    "r": 168,
    "g": 182,
    "b": 46
  },
  "hsl": {
    "h": 66.176,
    "s": 59.649,
    "l": 44.706
  },
  "oklch": {
    "l": 0.74135,
    "c": 0.1534,
    "h": 115.4
  },
  "luminance": 0.41978
}

Semantic roles & 50–950 ramp

primary
#A8B62E
secondary
#8078C8
accent
#45E355
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B62E

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

Preview Lab → · Contrast checker → · Palette generator →

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