#A7BA30#A7BA30

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

Color values

HEX#A7BA30
RGBrgb(167, 186, 48)
HSLhsl(68, 59%, 46%)
HSVhsv(68, 74%, 73%)
CMYKcmyk(10.2%, 0%, 74.2%, 27.1%)
CIE-LABlab(71.92, -23.95, 63.17)
CIE-LCHlch(71.92, 67.56, 110.76°)
OKLaboklab(74.98% -0.072 0.1396)
OKLCHoklch(74.98% 0.157 117.3)
XYZxyz(34.0296, 43.5471, 9.4085)
Luminance0.4355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7BA30 #4330BA
analogous
#BA8830 #A7BA30 #62BA30
triadic
#A7BA30 #30A7BA #BA30A7
tetradic
#A7BA30 #30BA88 #4330BA #BA3062
square
#A7BA30 #30BA88 #4330BA #BA3062
split-complementary
#A7BA30 #3062BA #8830BA
monochromatic
#505917 #7B8923 #A7BA30 #C1D354 #D3DF85

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7BA30#FFFFFF#000000##000000
##A7BA301.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)
#C7B012
Deuteranopia (green-blind)
#C5B13C
Tritanopia (blue-blind)
#B1AFA0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a7ba30;
/* rgb */ color: rgb(167, 186, 48);
/* oklch */ color: oklch(75.0% 0.157 117.3);
Tailwind
colors: {
  custom: {
    50: '#c5ce73',
    500: '#a7ba30',
    950: '#000000',
  },
}
SCSS
$custom: #a7ba30;
$custom-light: #c5ce73;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ba30",
  "rgb": {
    "r": 167,
    "g": 186,
    "b": 48
  },
  "hsl": {
    "h": 68.261,
    "s": 58.974,
    "l": 45.882
  },
  "oklch": {
    "l": 0.74978,
    "c": 0.15706,
    "h": 117.3
  },
  "luminance": 0.43547
}

Semantic roles & 50–950 ramp

primary
#A7BA30
secondary
#877DC9
accent
#46E25B
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A7BA30

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

Preview Lab → · Contrast checker → · Palette generator →

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