#A7BA38#A7BA38

#A7BA38 is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.0% C 0.152 H 117.5°. Best body text is #000000 at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#A7BA38
RGBrgb(167, 186, 56)
HSLhsl(69, 54%, 47%)
HSVhsv(69, 70%, 73%)
CMYKcmyk(10.2%, 0%, 69.9%, 27.1%)
CIE-LABlab(71.97, -23.53, 60.38)
CIE-LCHlch(71.97, 64.80, 111.29°)
OKLaboklab(75.03% -0.0701 0.135)
OKLCHoklch(75.03% 0.152 117.5)
XYZxyz(34.2098, 43.6192, 10.3578)
Luminance0.4362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7BA38 #4B38BA
analogous
#BA8C38 #A7BA38 #66BA38
triadic
#A7BA38 #38A7BA #BA38A7
tetradic
#A7BA38 #38BA8C #4B38BA #BA3866
square
#A7BA38 #38BA8C #4B38BA #BA3866
split-complementary
#A7BA38 #3866BA #8C38BA
monochromatic
#535C1C #7D8B2A #A7BA38 #BFCF60 #D2DD8F

Accessibility & contrast

On white

2.16
#A7BA38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.72
#A7BA38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7BA38
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7BA38#FFFFFF#000000##000000
##A7BA381.002.169.729.72
#FFFFFF2.161.0021.0021.00
#0000009.7221.001.001.00
##0000009.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B023
Deuteranopia (green-blind)
#C5B142
Tritanopia (blue-blind)
#B1B0A0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a7ba38;
/* rgb */ color: rgb(167, 186, 56);
/* oklch */ color: oklch(75.0% 0.152 117.5);
Tailwind
colors: {
  custom: {
    50: '#c4ce77',
    500: '#a7ba38',
    950: '#000000',
  },
}
SCSS
$custom: #a7ba38;
$custom-light: #c4ce77;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ba38",
  "rgb": {
    "r": 167,
    "g": 186,
    "b": 56
  },
  "hsl": {
    "h": 68.769,
    "s": 53.719,
    "l": 47.451
  },
  "oklch": {
    "l": 0.75032,
    "c": 0.15216,
    "h": 117.5
  },
  "luminance": 0.43619
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A7BA38

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

Preview Lab → · Contrast checker → · Palette generator →

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