#A8B232#A8B232

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

Color values

HEX#A8B232
RGBrgb(168, 178, 50)
HSLhsl(65, 56%, 45%)
HSVhsv(65, 72%, 70%)
CMYKcmyk(5.6%, 0%, 71.9%, 30.2%)
CIE-LABlab(69.75, -19.46, 60.42)
CIE-LCHlch(69.75, 63.48, 107.85°)
OKLaboklab(73.26% -0.0594 0.1341)
OKLCHoklch(73.26% 0.147 113.9)
XYZxyz(32.6455, 40.3966, 9.0946)
Luminance0.4040 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B232 #3C32B2
analogous
#B27C32 #A8B232 #68B232
triadic
#A8B232 #32A8B2 #B232A8
tetradic
#A8B232 #32B27C #3C32B2 #B23268
square
#A8B232 #32B27C #3C32B2 #B23268
split-complementary
#A8B232 #3268B2 #7C32B2
monochromatic
#4E5217 #7B8225 #A8B232 #C5CF53 #D5DC82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8B232#FFFFFF#000000##000000
##A8B2321.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)
#BFA91A
Deuteranopia (green-blind)
#BFAC3C
Tritanopia (blue-blind)
#B3A799
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a8b232;
/* rgb */ color: rgb(168, 178, 50);
/* oklch */ color: oklch(73.3% 0.147 113.9);
Tailwind
colors: {
  custom: {
    50: '#c5c873',
    500: '#a8b232',
    950: '#000000',
  },
}
SCSS
$custom: #a8b232;
$custom-light: #c5c873;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b232",
  "rgb": {
    "r": 168,
    "g": 178,
    "b": 50
  },
  "hsl": {
    "h": 64.688,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.73256,
    "c": 0.14667,
    "h": 113.9
  },
  "luminance": 0.40396
}

Semantic roles & 50–950 ramp

primary
#A8B232
secondary
#807BC5
accent
#48DF54
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A8B232

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

Preview Lab → · Contrast checker → · Palette generator →

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