#A8B62F#A8B62F

#A8B62F 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#A8B62F
RGBrgb(168, 182, 47)
HSLhsl(66, 59%, 45%)
HSVhsv(66, 74%, 71%)
CMYKcmyk(7.7%, 0%, 74.2%, 28.6%)
CIE-LABlab(70.86, -21.60, 62.53)
CIE-LCHlch(70.86, 66.16, 109.06°)
OKLaboklab(74.14% -0.0657 0.138)
OKLCHoklch(74.14% 0.153 115.4)
XYZxyz(33.3904, 41.9865, 9.0340)
Luminance0.4199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B62F #3D2FB6
analogous
#B6802F #A8B62F #65B62F
triadic
#A8B62F #2FA8B6 #B62FA8
tetradic
#A8B62F #2FB680 #3D2FB6 #B62F65
square
#A8B62F #2FB680 #3D2FB6 #B62F65
split-complementary
#A8B62F #2F65B6 #802FB6
monochromatic
#4E5516 #7B8522 #A8B62F #C4D250 #D5DE81

Accessibility & contrast

On white

2.23
#A8B62F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8B62F#FFFFFF#000000##000000
##A8B62F1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a8b62f;
/* rgb */ color: rgb(168, 182, 47);
/* oklch */ color: oklch(74.1% 0.153 115.4);
Tailwind
colors: {
  custom: {
    50: '#c5cb72',
    500: '#a8b62f',
    950: '#000000',
  },
}
SCSS
$custom: #a8b62f;
$custom-light: #c5cb72;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b62f",
  "rgb": {
    "r": 168,
    "g": 182,
    "b": 47
  },
  "hsl": {
    "h": 66.222,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.74141,
    "c": 0.15284,
    "h": 115.4
  },
  "luminance": 0.41986
}

Semantic roles & 50–950 ramp

primary
#A8B62F
secondary
#8179C7
accent
#46E256
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B62F

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

Preview Lab → · Contrast checker → · Palette generator →

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