#A7B629#A7B629

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

Color values

HEX#A7B629
RGBrgb(167, 182, 41)
HSLhsl(66, 63%, 44%)
HSVhsv(66, 77%, 71%)
CMYKcmyk(8.2%, 0%, 77.5%, 28.6%)
CIE-LABlab(70.75, -22.29, 64.34)
CIE-LCHlch(70.75, 68.09, 109.11°)
OKLaboklab(74.03% -0.068 0.1408)
OKLCHoklch(74.03% 0.156 115.8)
XYZxyz(33.0655, 41.8320, 8.4299)
Luminance0.4183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B629 #3829B6
analogous
#B67E29 #A7B629 #60B629
triadic
#A7B629 #29A7B6 #B629A7
tetradic
#A7B629 #29B67E #3829B6 #B62960
square
#A7B629 #29B67E #3829B6 #B62960
split-complementary
#A7B629 #2960B6 #7E29B6
monochromatic
#4B5212 #79841E #A7B629 #C6D547 #D6E179

Accessibility & contrast

On white

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

On black

9.37
#A7B629 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B629
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B629#FFFFFF#000000##000000
##A7B6291.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7b629;
/* rgb */ color: rgb(167, 182, 41);
/* oklch */ color: oklch(74.0% 0.156 115.8);
Tailwind
colors: {
  custom: {
    50: '#c5cb6f',
    500: '#a7b629',
    950: '#000000',
  },
}
SCSS
$custom: #a7b629;
$custom-light: #c5cb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b629",
  "rgb": {
    "r": 167,
    "g": 182,
    "b": 41
  },
  "hsl": {
    "h": 66.383,
    "s": 63.229,
    "l": 43.725
  },
  "oklch": {
    "l": 0.74026,
    "c": 0.15638,
    "h": 115.8
  },
  "luminance": 0.41831
}

Semantic roles & 50–950 ramp

primary
#A7B629
secondary
#7B72C9
accent
#42E653
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7B629

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

Preview Lab → · Contrast checker → · Palette generator →

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