#A8B734#A8B734

#A8B734 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.4% C 0.151 H 115.9°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#A8B734
RGBrgb(168, 183, 52)
HSLhsl(67, 56%, 46%)
HSVhsv(67, 72%, 72%)
CMYKcmyk(8.2%, 0%, 71.6%, 28.2%)
CIE-LABlab(71.17, -21.85, 61.08)
CIE-LCHlch(71.17, 64.87, 109.68°)
OKLaboklab(74.4% -0.0659 0.1358)
OKLCHoklch(74.4% 0.151 115.9)
XYZxyz(33.7026, 42.4402, 9.6645)
Luminance0.4244 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B734 #4334B7
analogous
#B78434 #A8B734 #66B734
triadic
#A8B734 #34A8B7 #B734A8
tetradic
#A8B734 #34B784 #4334B7 #B73466
square
#A8B734 #34B784 #4334B7 #B73466
split-complementary
#A8B734 #3466B7 #8434B7
monochromatic
#505819 #7C8726 #A8B734 #C2D059 #D3DD88

Accessibility & contrast

On white

2.21
#A8B734 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#A8B734 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B734
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B734#FFFFFF#000000##000000
##A8B7341.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE1C
Deuteranopia (green-blind)
#C3AF3F
Tritanopia (blue-blind)
#B3AC9E
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a8b734;
/* rgb */ color: rgb(168, 183, 52);
/* oklch */ color: oklch(74.4% 0.151 115.9);
Tailwind
colors: {
  custom: {
    50: '#c5cc74',
    500: '#a8b734',
    950: '#000000',
  },
}
SCSS
$custom: #a8b734;
$custom-light: #c5cc74;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b734",
  "rgb": {
    "r": 168,
    "g": 183,
    "b": 52
  },
  "hsl": {
    "h": 66.87,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.744,
    "c": 0.15096,
    "h": 115.9
  },
  "luminance": 0.4244
}

Semantic roles & 50–950 ramp

primary
#A8B734
secondary
#8880C7
accent
#49DF5A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A8B734

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

Preview Lab → · Contrast checker → · Palette generator →

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