#A8B930#A8B930

#A8B930 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 74.8% C 0.156 H 116.6°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#A8B930
RGBrgb(168, 185, 48)
HSLhsl(67, 59%, 46%)
HSVhsv(67, 74%, 73%)
CMYKcmyk(9.2%, 0%, 74.1%, 27.5%)
CIE-LABlab(71.72, -23.04, 63.00)
CIE-LCHlch(71.72, 67.08, 110.08°)
OKLaboklab(74.83% -0.0696 0.1392)
OKLCHoklch(74.83% 0.156 116.6)
XYZxyz(34.0318, 43.2366, 9.3485)
Luminance0.4324 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B930 #4130B9
analogous
#B98530 #A8B930 #64B930
triadic
#A8B930 #30A8B9 #B930A8
tetradic
#A8B930 #30B985 #4130B9 #B93064
square
#A8B930 #30B985 #4130B9 #B93064
split-complementary
#A8B930 #3064B9 #8530B9
monochromatic
#505817 #7C8823 #A8B930 #C3D354 #D4DF84

Accessibility & contrast

On white

2.18
#A8B930 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#A8B930 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B930
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B930#FFFFFF#000000##000000
##A8B9301.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF12
Deuteranopia (green-blind)
#C4B13C
Tritanopia (blue-blind)
#B3AE9F
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a8b930;
/* rgb */ color: rgb(168, 185, 48);
/* oklch */ color: oklch(74.8% 0.156 116.6);
Tailwind
colors: {
  custom: {
    50: '#c5cd73',
    500: '#a8b930',
    950: '#000000',
  },
}
SCSS
$custom: #a8b930;
$custom-light: #c5cd73;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b930",
  "rgb": {
    "r": 168,
    "g": 185,
    "b": 48
  },
  "hsl": {
    "h": 67.445,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.74828,
    "c": 0.15559,
    "h": 116.6
  },
  "luminance": 0.43236
}

Semantic roles & 50–950 ramp

primary
#A8B930
secondary
#867CC9
accent
#46E259
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A8B930

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

Preview Lab → · Contrast checker → · Palette generator →

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