#A8B645#A8B645

#A8B645 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.3% C 0.138 H 115.8°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#A8B645
RGBrgb(168, 182, 69)
HSLhsl(67, 45%, 49%)
HSVhsv(67, 62%, 71%)
CMYKcmyk(7.7%, 0%, 62.1%, 28.6%)
CIE-LABlab(71.02, -20.30, 54.17)
CIE-LCHlch(71.02, 57.85, 110.55°)
OKLaboklab(74.31% -0.0599 0.1239)
OKLCHoklch(74.31% 0.138 115.8)
XYZxyz(33.9513, 42.2109, 11.9880)
Luminance0.4221 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B645 #5345B6
analogous
#B68C45 #A8B645 #6FB645
triadic
#A8B645 #45A8B6 #B645A8
tetradic
#A8B645 #45B68C #5345B6 #B6456F
square
#A8B645 #45B68C #5345B6 #B6456F
split-complementary
#A8B645 #456FB6 #8C45B6
monochromatic
#565D23 #7F8A34 #A8B645 #BEC970 #D2D99C

Accessibility & contrast

On white

2.22
#A8B645 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#A8B645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B645
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B645#FFFFFF#000000##000000
##A8B6451.002.229.449.44
#FFFFFF2.221.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD37
Deuteranopia (green-blind)
#C1AF4C
Tritanopia (blue-blind)
#B2AC9E
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a8b645;
/* rgb */ color: rgb(168, 182, 69);
/* oklch */ color: oklch(74.3% 0.138 115.8);
Tailwind
colors: {
  custom: {
    50: '#c4cb7e',
    500: '#a8b645',
    950: '#000000',
  },
}
SCSS
$custom: #a8b645;
$custom-light: #c4cb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b645",
  "rgb": {
    "r": 168,
    "g": 182,
    "b": 69
  },
  "hsl": {
    "h": 67.434,
    "s": 45.02,
    "l": 49.216
  },
  "oklch": {
    "l": 0.74314,
    "c": 0.13759,
    "h": 115.8
  },
  "luminance": 0.4221
}

Semantic roles & 50–950 ramp

primary
#A8B645
secondary
#9891C6
accent
#53D563
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A8B645

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

Preview Lab → · Contrast checker → · Palette generator →

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