#A8B230#A8B230

#A8B230 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.2% C 0.148 H 113.9°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#A8B230
RGBrgb(168, 178, 48)
HSLhsl(65, 58%, 44%)
HSVhsv(65, 73%, 70%)
CMYKcmyk(5.6%, 0%, 73%, 30.2%)
CIE-LABlab(69.74, -19.56, 61.12)
CIE-LCHlch(69.74, 64.17, 107.74°)
OKLaboklab(73.24% -0.0599 0.1352)
OKLCHoklch(73.24% 0.148 113.9)
XYZxyz(32.6033, 40.3797, 8.8723)
Luminance0.4038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B230 #3A30B2
analogous
#B27B30 #A8B230 #67B230
triadic
#A8B230 #30A8B2 #B230A8
tetradic
#A8B230 #30B27B #3A30B2 #B23067
square
#A8B230 #30B27B #3A30B2 #B23067
split-complementary
#A8B230 #3067B2 #7B30B2
monochromatic
#4D5216 #7B8223 #A8B230 #C6D050 #D6DD80

Accessibility & contrast

On white

2.31
#A8B230 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#A8B230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B230
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B230#FFFFFF#000000##000000
##A8B2301.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA916
Deuteranopia (green-blind)
#BFAC3B
Tritanopia (blue-blind)
#B3A799
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a8b230;
/* rgb */ color: rgb(168, 178, 48);
/* oklch */ color: oklch(73.2% 0.148 113.9);
Tailwind
colors: {
  custom: {
    50: '#c5c872',
    500: '#a8b230',
    950: '#000000',
  },
}
SCSS
$custom: #a8b230;
$custom-light: #c5c872;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b230",
  "rgb": {
    "r": 168,
    "g": 178,
    "b": 48
  },
  "hsl": {
    "h": 64.615,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.73242,
    "c": 0.14788,
    "h": 113.9
  },
  "luminance": 0.40379
}

Semantic roles & 50–950 ramp

primary
#A8B230
secondary
#7E78C6
accent
#47E153
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A8B230

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

Preview Lab → · Contrast checker → · Palette generator →

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