#A8B237#A8B237

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

Color values

HEX#A8B237
RGBrgb(168, 178, 55)
HSLhsl(65, 53%, 46%)
HSVhsv(65, 69%, 70%)
CMYKcmyk(5.6%, 0%, 69.1%, 30.2%)
CIE-LABlab(69.78, -19.19, 58.60)
CIE-LCHlch(69.78, 61.66, 108.13°)
OKLaboklab(73.29% -0.0582 0.1311)
OKLCHoklch(73.29% 0.143 113.9)
XYZxyz(32.7593, 40.4421, 9.6941)
Luminance0.4044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B237 #4137B2
analogous
#B27E37 #A8B237 #6AB237
triadic
#A8B237 #37A8B2 #B237A8
tetradic
#A8B237 #37B27E #4137B2 #B2376A
square
#A8B237 #37B27E #4137B2 #B2376A
split-complementary
#A8B237 #376AB2 #7E37B2
monochromatic
#50541A #7C8329 #A8B237 #C3CC5A #D4DB89

Accessibility & contrast

On white

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

On black

9.09
#A8B237 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B237
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B237#FFFFFF#000000##000000
##A8B2371.002.319.099.09
#FFFFFF2.311.0021.0021.00
#0000009.0921.001.001.00
##0000009.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA924
Deuteranopia (green-blind)
#BFAC40
Tritanopia (blue-blind)
#B3A89A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a8b237;
/* rgb */ color: rgb(168, 178, 55);
/* oklch */ color: oklch(73.3% 0.143 113.9);
Tailwind
colors: {
  custom: {
    50: '#c5c875',
    500: '#a8b237',
    950: '#000000',
  },
}
SCSS
$custom: #a8b237;
$custom-light: #c5c875;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b237",
  "rgb": {
    "r": 168,
    "g": 178,
    "b": 55
  },
  "hsl": {
    "h": 64.878,
    "s": 52.79,
    "l": 45.686
  },
  "oklch": {
    "l": 0.73292,
    "c": 0.14343,
    "h": 113.9
  },
  "luminance": 0.40441
}

Semantic roles & 50–950 ramp

primary
#A8B237
secondary
#8680C5
accent
#4CDC57
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A8B237

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

Preview Lab → · Contrast checker → · Palette generator →

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