#A7B625#A7B625

#A7B625 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.0% C 0.158 H 115.7°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#A7B625
RGBrgb(167, 182, 37)
HSLhsl(66, 66%, 43%)
HSVhsv(66, 80%, 71%)
CMYKcmyk(8.2%, 0%, 79.7%, 28.6%)
CIE-LABlab(70.74, -22.45, 65.50)
CIE-LCHlch(70.74, 69.24, 108.92°)
OKLaboklab(74.01% -0.0687 0.1426)
OKLCHoklch(74.01% 0.158 115.7)
XYZxyz(32.9992, 41.8055, 8.0808)
Luminance0.4180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B625 #3425B6
analogous
#B67C25 #A7B625 #5EB625
triadic
#A7B625 #25A7B6 #B625A7
tetradic
#A7B625 #25B67C #3425B6 #B6255E
square
#A7B625 #25B67C #3425B6 #B6255E
split-complementary
#A7B625 #255EB6 #7C25B6
monochromatic
#4A5010 #78831B #A7B625 #C8D840 #D7E373

Accessibility & contrast

On white

2.24
#A7B625 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#A7B625 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B625
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B625#FFFFFF#000000##000000
##A7B6251.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AC00
Deuteranopia (green-blind)
#C2AE33
Tritanopia (blue-blind)
#B2AB9C
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a7b625;
/* rgb */ color: rgb(167, 182, 37);
/* oklch */ color: oklch(74.0% 0.158 115.7);
Tailwind
colors: {
  custom: {
    50: '#c5cb6d',
    500: '#a7b625',
    950: '#000000',
  },
}
SCSS
$custom: #a7b625;
$custom-light: #c5cb6d;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b625",
  "rgb": {
    "r": 167,
    "g": 182,
    "b": 37
  },
  "hsl": {
    "h": 66.207,
    "s": 66.21,
    "l": 42.941
  },
  "oklch": {
    "l": 0.74006,
    "c": 0.1583,
    "h": 115.7
  },
  "luminance": 0.41805
}

Semantic roles & 50–950 ramp

primary
#A7B625
secondary
#776DCA
accent
#3FE950
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7B625

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

Preview Lab → · Contrast checker → · Palette generator →

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