#A7BA25#A7BA25

#A7BA25 is a light, vivid yellow. Relative luminance 0.435; OKLCH L 74.9% C 0.163 H 117.1°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#A7BA25
RGBrgb(167, 186, 37)
HSLhsl(68, 67%, 44%)
HSVhsv(68, 80%, 73%)
CMYKcmyk(10.2%, 0%, 80.1%, 27.1%)
CIE-LABlab(71.87, -24.41, 66.50)
CIE-LCHlch(71.87, 70.84, 110.16°)
OKLaboklab(74.92% -0.0742 0.1447)
OKLCHoklch(74.92% 0.163 117.1)
XYZxyz(33.8301, 43.4673, 8.3578)
Luminance0.4347 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7BA25 #3825BA
analogous
#BA8225 #A7BA25 #5CBA25
triadic
#A7BA25 #25A7BA #BA25A7
tetradic
#A7BA25 #25BA82 #3825BA #BA255C
square
#A7BA25 #25BA82 #3825BA #BA255C
split-complementary
#A7BA25 #255CBA #8225BA
monochromatic
#4B5411 #79871B #A7BA25 #C6DA43 #D6E476

Accessibility & contrast

On white

2.17
#A7BA25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.69
#A7BA25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7BA25
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7BA25#FFFFFF#000000##000000
##A7BA251.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7ba25;
/* rgb */ color: rgb(167, 186, 37);
/* oklch */ color: oklch(74.9% 0.163 117.1);
Tailwind
colors: {
  custom: {
    50: '#c5ce6e',
    500: '#a7ba25',
    950: '#000000',
  },
}
SCSS
$custom: #a7ba25;
$custom-light: #c5ce6e;
$custom-dark: #000000;
JSON
{
  "hex": "#a7ba25",
  "rgb": {
    "r": 167,
    "g": 186,
    "b": 37
  },
  "hsl": {
    "h": 67.651,
    "s": 66.816,
    "l": 43.725
  },
  "oklch": {
    "l": 0.74918,
    "c": 0.16263,
    "h": 117.1
  },
  "luminance": 0.43467
}

Semantic roles & 50–950 ramp

primary
#A7BA25
secondary
#7B70CB
accent
#3EEA54
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7BA25

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

Preview Lab → · Contrast checker → · Palette generator →

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