#A7BA2C#A7BA2C

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

Color values

HEX#A7BA2C
RGBrgb(167, 186, 44)
HSLhsl(68, 62%, 45%)
HSVhsv(68, 76%, 73%)
CMYKcmyk(10.2%, 0%, 76.3%, 27.1%)
CIE-LABlab(71.90, -24.13, 64.46)
CIE-LCHlch(71.90, 68.83, 110.52°)
OKLaboklab(74.95% -0.0729 0.1416)
OKLCHoklch(74.95% 0.159 117.2)
XYZxyz(33.9507, 43.5156, 8.9932)
Luminance0.4351 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7BA2C #3F2CBA
analogous
#BA862C #A7BA2C #60BA2C
triadic
#A7BA2C #2CA7BA #BA2CA7
tetradic
#A7BA2C #2CBA86 #3F2CBA #BA2C60
square
#A7BA2C #2CBA86 #3F2CBA #BA2C60
split-complementary
#A7BA2C #2C60BA #862CBA
monochromatic
#4E5715 #7B8920 #A7BA2C #C3D54E #D4E180

Accessibility & contrast

On white

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

On black

9.70
#A7BA2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7BA2C
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7BA2C#FFFFFF#000000##000000
##A7BA2C1.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B005
Deuteranopia (green-blind)
#C5B139
Tritanopia (blue-blind)
#B2AF9F
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a7ba2c;
/* rgb */ color: rgb(167, 186, 44);
/* oklch */ color: oklch(75.0% 0.159 117.2);
Tailwind
colors: {
  custom: {
    50: '#c5ce71',
    500: '#a7ba2c',
    950: '#000000',
  },
}
SCSS
$custom: #a7ba2c;
$custom-light: #c5ce71;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ba2c",
  "rgb": {
    "r": 167,
    "g": 186,
    "b": 44
  },
  "hsl": {
    "h": 68.028,
    "s": 61.739,
    "l": 45.098
  },
  "oklch": {
    "l": 0.74954,
    "c": 0.15925,
    "h": 117.2
  },
  "luminance": 0.43515
}

Semantic roles & 50–950 ramp

primary
#A7BA2C
secondary
#8378CA
accent
#43E559
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7BA2C

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

Preview Lab → · Contrast checker → · Palette generator →

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