#A8BA38#A8BA38

#A8BA38 is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.1% C 0.152 H 117.1°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#A8BA38
RGBrgb(168, 186, 56)
HSLhsl(68, 54%, 47%)
HSVhsv(68, 70%, 73%)
CMYKcmyk(9.7%, 0%, 69.9%, 27.1%)
CIE-LABlab(72.05, -23.11, 60.48)
CIE-LCHlch(72.05, 64.74, 110.92°)
OKLaboklab(75.11% -0.069 0.1352)
OKLCHoklch(75.11% 0.152 117.1)
XYZxyz(34.4220, 43.7286, 10.3677)
Luminance0.4373 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8BA38 #4A38BA
analogous
#BA8B38 #A8BA38 #67BA38
triadic
#A8BA38 #38A8BA #BA38A8
tetradic
#A8BA38 #38BA8B #4A38BA #BA3867
square
#A8BA38 #38BA8B #4A38BA #BA3867
split-complementary
#A8BA38 #3867BA #8B38BA
monochromatic
#535C1C #7E8B2A #A8BA38 #C0CF60 #D2DD8F

Accessibility & contrast

On white

2.15
#A8BA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.75
#A8BA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8BA38
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8BA38#FFFFFF#000000##000000
##A8BA381.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B023
Deuteranopia (green-blind)
#C5B142
Tritanopia (blue-blind)
#B2B0A0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a8ba38;
/* rgb */ color: rgb(168, 186, 56);
/* oklch */ color: oklch(75.1% 0.152 117.1);
Tailwind
colors: {
  custom: {
    50: '#c5ce77',
    500: '#a8ba38',
    950: '#000000',
  },
}
SCSS
$custom: #a8ba38;
$custom-light: #c5ce77;
$custom-dark: #000000;
JSON
{
  "hex": "#a8ba38",
  "rgb": {
    "r": 168,
    "g": 186,
    "b": 56
  },
  "hsl": {
    "h": 68.308,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.7511,
    "c": 0.15181,
    "h": 117.1
  },
  "luminance": 0.43728
}

Semantic roles & 50–950 ramp

primary
#A8BA38
secondary
#8F86C8
accent
#4BDD5F
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#131309
muted
#82827B

Preview Lab

Preview with #A8BA38

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

Preview Lab → · Contrast checker → · Palette generator →

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