#A8B236#A8B236

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

Color values

HEX#A8B236
RGBrgb(168, 178, 54)
HSLhsl(65, 53%, 45%)
HSVhsv(65, 70%, 70%)
CMYKcmyk(5.6%, 0%, 69.7%, 30.2%)
CIE-LABlab(69.78, -19.25, 58.97)
CIE-LCHlch(69.78, 62.03, 108.07°)
OKLaboklab(73.28% -0.0585 0.1317)
OKLCHoklch(73.28% 0.144 113.9)
XYZxyz(32.7356, 40.4326, 9.5691)
Luminance0.4043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B236 #4036B2
analogous
#B27E36 #A8B236 #6AB236
triadic
#A8B236 #36A8B2 #B236A8
tetradic
#A8B236 #36B27E #4036B2 #B2366A
square
#A8B236 #36B27E #4036B2 #B2366A
split-complementary
#A8B236 #366AB2 #7E36B2
monochromatic
#4F541A #7C8328 #A8B236 #C3CD59 #D4DB88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8B236#FFFFFF#000000##000000
##A8B2361.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)
#BFA922
Deuteranopia (green-blind)
#BFAC3F
Tritanopia (blue-blind)
#B3A89A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a8b236;
/* rgb */ color: rgb(168, 178, 54);
/* oklch */ color: oklch(73.3% 0.144 113.9);
Tailwind
colors: {
  custom: {
    50: '#c5c875',
    500: '#a8b236',
    950: '#000000',
  },
}
SCSS
$custom: #a8b236;
$custom-light: #c5c875;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b236",
  "rgb": {
    "r": 168,
    "g": 178,
    "b": 54
  },
  "hsl": {
    "h": 64.839,
    "s": 53.448,
    "l": 45.49
  },
  "oklch": {
    "l": 0.73284,
    "c": 0.1441,
    "h": 113.9
  },
  "luminance": 0.40432
}

Semantic roles & 50–950 ramp

primary
#A8B236
secondary
#857FC5
accent
#4BDD57
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A8B236

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

Preview Lab → · Contrast checker → · Palette generator →

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