#A7BA33#A7BA33

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

Color values

HEX#A7BA33
RGBrgb(167, 186, 51)
HSLhsl(68, 57%, 46%)
HSVhsv(68, 73%, 73%)
CMYKcmyk(10.2%, 0%, 72.6%, 27.1%)
CIE-LABlab(71.94, -23.80, 62.16)
CIE-LCHlch(71.94, 66.56, 110.95°)
OKLaboklab(75% -0.0713 0.1379)
OKLCHoklch(75% 0.155 117.4)
XYZxyz(34.0936, 43.5727, 9.7457)
Luminance0.4357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7BA33 #4633BA
analogous
#BA8A33 #A7BA33 #64BA33
triadic
#A7BA33 #33A7BA #BA33A7
tetradic
#A7BA33 #33BA8A #4633BA #BA3364
square
#A7BA33 #33BA8A #4633BA #BA3364
split-complementary
#A7BA33 #3364BA #8A33BA
monochromatic
#515A19 #7C8A26 #A7BA33 #C0D159 #D3DF89

Accessibility & contrast

On white

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

On black

9.71
#A7BA33 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7BA33
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7BA33#FFFFFF#000000##000000
##A7BA331.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7ba33;
/* rgb */ color: rgb(167, 186, 51);
/* oklch */ color: oklch(75.0% 0.155 117.4);
Tailwind
colors: {
  custom: {
    50: '#c5ce74',
    500: '#a7ba33',
    950: '#000000',
  },
}
SCSS
$custom: #a7ba33;
$custom-light: #c5ce74;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ba33",
  "rgb": {
    "r": 167,
    "g": 186,
    "b": 51
  },
  "hsl": {
    "h": 68.444,
    "s": 56.962,
    "l": 46.471
  },
  "oklch": {
    "l": 0.74997,
    "c": 0.1553,
    "h": 117.4
  },
  "luminance": 0.43572
}

Semantic roles & 50–950 ramp

primary
#A7BA33
secondary
#8A80C9
accent
#48E05D
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A7BA33

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

Preview Lab → · Contrast checker → · Palette generator →

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