#A8B630#A8B630

#A8B630 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.1% C 0.152 H 115.5°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#A8B630
RGBrgb(168, 182, 48)
HSLhsl(66, 58%, 45%)
HSVhsv(66, 74%, 71%)
CMYKcmyk(7.7%, 0%, 73.6%, 28.6%)
CIE-LABlab(70.87, -21.55, 62.20)
CIE-LCHlch(70.87, 65.82, 109.11°)
OKLaboklab(74.15% -0.0654 0.1375)
OKLCHoklch(74.15% 0.152 115.5)
XYZxyz(33.4108, 41.9947, 9.1415)
Luminance0.4199 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B630 #3E30B6
analogous
#B68130 #A8B630 #65B630
triadic
#A8B630 #30A8B6 #B630A8
tetradic
#A8B630 #30B681 #3E30B6 #B63065
square
#A8B630 #30B681 #3E30B6 #B63065
split-complementary
#A8B630 #3065B6 #8130B6
monochromatic
#4F5516 #7B8623 #A8B630 #C4D152 #D5DE82

Accessibility & contrast

On white

2.23
#A8B630 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#A8B630 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B630
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B630#FFFFFF#000000##000000
##A8B6301.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AD14
Deuteranopia (green-blind)
#C2AE3B
Tritanopia (blue-blind)
#B3AB9C
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a8b630;
/* rgb */ color: rgb(168, 182, 48);
/* oklch */ color: oklch(74.1% 0.152 115.5);
Tailwind
colors: {
  custom: {
    50: '#c5cb72',
    500: '#a8b630',
    950: '#000000',
  },
}
SCSS
$custom: #a8b630;
$custom-light: #c5cb72;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b630",
  "rgb": {
    "r": 168,
    "g": 182,
    "b": 48
  },
  "hsl": {
    "h": 66.269,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.74147,
    "c": 0.15226,
    "h": 115.5
  },
  "luminance": 0.41994
}

Semantic roles & 50–950 ramp

primary
#A8B630
secondary
#837BC7
accent
#46E157
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B630

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

Preview Lab → · Contrast checker → · Palette generator →

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