#A8B730#A8B730

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

Color values

HEX#A8B730
RGBrgb(168, 183, 48)
HSLhsl(67, 58%, 45%)
HSVhsv(67, 74%, 72%)
CMYKcmyk(8.2%, 0%, 73.8%, 28.2%)
CIE-LABlab(71.15, -22.05, 62.46)
CIE-LCHlch(71.15, 66.24, 109.44°)
OKLaboklab(74.37% -0.0668 0.138)
OKLCHoklch(74.37% 0.153 115.8)
XYZxyz(33.6163, 42.4057, 9.2100)
Luminance0.4240 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B730 #3F30B7
analogous
#B78330 #A8B730 #64B730
triadic
#A8B730 #30A8B7 #B730A8
tetradic
#A8B730 #30B783 #3F30B7 #B73064
square
#A8B730 #30B783 #3F30B7 #B73064
split-complementary
#A8B730 #3064B7 #8330B7
monochromatic
#4F5617 #7B8723 #A8B730 #C4D252 #D4DE83

Accessibility & contrast

On white

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

On black

9.48
#A8B730 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B730
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B730#FFFFFF#000000##000000
##A8B7301.002.219.489.48
#FFFFFF2.211.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD14
Deuteranopia (green-blind)
#C3AF3B
Tritanopia (blue-blind)
#B3AC9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a8b730;
/* rgb */ color: rgb(168, 183, 48);
/* oklch */ color: oklch(74.4% 0.153 115.8);
Tailwind
colors: {
  custom: {
    50: '#c5cc72',
    500: '#a8b730',
    950: '#000000',
  },
}
SCSS
$custom: #a8b730;
$custom-light: #c5cc72;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b730",
  "rgb": {
    "r": 168,
    "g": 183,
    "b": 48
  },
  "hsl": {
    "h": 66.667,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.74374,
    "c": 0.15336,
    "h": 115.8
  },
  "luminance": 0.42405
}

Semantic roles & 50–950 ramp

primary
#A8B730
secondary
#847BC8
accent
#46E257
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A8B730

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

Preview Lab → · Contrast checker → · Palette generator →

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