#A8B348#A8B348

#A8B348 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 73.7% C 0.132 H 114.6°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#A8B348
RGBrgb(168, 179, 72)
HSLhsl(66, 43%, 49%)
HSVhsv(66, 60%, 70%)
CMYKcmyk(6.1%, 0%, 59.8%, 29.8%)
CIE-LABlab(70.20, -18.58, 51.97)
CIE-LCHlch(70.20, 55.19, 109.67°)
OKLaboklab(73.67% -0.0548 0.1196)
OKLCHoklch(73.67% 0.132 114.6)
XYZxyz(33.4390, 41.0334, 12.2883)
Luminance0.4103 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B348 #5348B3
analogous
#B38948 #A8B348 #73B348
triadic
#A8B348 #48A8B3 #B348A8
tetradic
#A8B348 #48B389 #5348B3 #B34873
square
#A8B348 #48B389 #5348B3 #B34873
split-complementary
#A8B348 #4873B3 #8948B3
monochromatic
#565C25 #7F8736 #A8B348 #BEC672 #D2D89E

Accessibility & contrast

On white

2.28
#A8B348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#A8B348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B348
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B348#FFFFFF#000000##000000
##A8B3481.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB3C
Deuteranopia (green-blind)
#BEAD4F
Tritanopia (blue-blind)
#B2A99C
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #a8b348;
/* rgb */ color: rgb(168, 179, 72);
/* oklch */ color: oklch(73.7% 0.132 114.6);
Tailwind
colors: {
  custom: {
    50: '#c4c97f',
    500: '#a8b348',
    950: '#000000',
  },
}
SCSS
$custom: #a8b348;
$custom-light: #c4c97f;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b348",
  "rgb": {
    "r": 168,
    "g": 179,
    "b": 72
  },
  "hsl": {
    "h": 66.168,
    "s": 42.629,
    "l": 49.216
  },
  "oklch": {
    "l": 0.73668,
    "c": 0.13153,
    "h": 114.6
  },
  "luminance": 0.41033
}

Semantic roles & 50–950 ramp

primary
#A8B348
secondary
#9892C4
accent
#55D262
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130A
muted
#82827C

Preview Lab

Preview with #A8B348

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

Preview Lab → · Contrast checker → · Palette generator →

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