#A8B239#A8B239

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

Color values

HEX#A8B239
RGBrgb(168, 178, 57)
HSLhsl(65, 51%, 46%)
HSVhsv(65, 68%, 70%)
CMYKcmyk(5.6%, 0%, 68%, 30.2%)
CIE-LABlab(69.80, -19.08, 57.84)
CIE-LCHlch(69.80, 60.90, 108.25°)
OKLaboklab(73.31% -0.0577 0.1298)
OKLCHoklch(73.31% 0.142 114)
XYZxyz(32.8083, 40.4617, 9.9517)
Luminance0.4046 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B239 #4339B2
analogous
#B27F39 #A8B239 #6BB239
triadic
#A8B239 #39A8B2 #B239A8
tetradic
#A8B239 #39B27F #4339B2 #B2396B
square
#A8B239 #39B27F #4339B2 #B2396B
split-complementary
#A8B239 #396BB2 #7F39B2
monochromatic
#50551B #7C842A #A8B239 #C2CB5D #D3DA8B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8B239#FFFFFF#000000##000000
##A8B2391.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)
#BFA927
Deuteranopia (green-blind)
#BEAC42
Tritanopia (blue-blind)
#B3A89A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a8b239;
/* rgb */ color: rgb(168, 178, 57);
/* oklch */ color: oklch(73.3% 0.142 114.0);
Tailwind
colors: {
  custom: {
    50: '#c5c876',
    500: '#a8b239',
    950: '#000000',
  },
}
SCSS
$custom: #a8b239;
$custom-light: #c5c876;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b239",
  "rgb": {
    "r": 168,
    "g": 178,
    "b": 57
  },
  "hsl": {
    "h": 64.959,
    "s": 51.489,
    "l": 46.078
  },
  "oklch": {
    "l": 0.73307,
    "c": 0.14205,
    "h": 114
  },
  "luminance": 0.40461
}

Semantic roles & 50–950 ramp

primary
#A8B239
secondary
#8882C4
accent
#4DDB59
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A8B239

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

Preview Lab → · Contrast checker → · Palette generator →

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