#A7B229#A7B229

#A7B229 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.1% C 0.152 H 114.3°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#A7B229
RGBrgb(167, 178, 41)
HSLhsl(65, 63%, 43%)
HSVhsv(65, 77%, 70%)
CMYKcmyk(6.2%, 0%, 77%, 30.2%)
CIE-LABlab(69.62, -20.30, 63.30)
CIE-LCHlch(69.62, 66.48, 107.78°)
OKLaboklab(73.12% -0.0625 0.1386)
OKLCHoklch(73.12% 0.152 114.3)
XYZxyz(32.2580, 40.2170, 8.1608)
Luminance0.4022 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B229 #3429B2
analogous
#B27929 #A7B229 #62B229
triadic
#A7B229 #29A7B2 #B229A7
tetradic
#A7B229 #29B279 #3429B2 #B22962
square
#A7B229 #29B279 #3429B2 #B22962
split-complementary
#A7B229 #2962B2 #7929B2
monochromatic
#4A4F12 #78801E #A7B229 #C8D444 #D7DF76

Accessibility & contrast

On white

2.32
#A7B229 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.04
#A7B229 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B229
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B229#FFFFFF#000000##000000
##A7B2291.002.329.049.04
#FFFFFF2.321.0021.0021.00
#0000009.0421.001.001.00
##0000009.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA901
Deuteranopia (green-blind)
#BFAB35
Tritanopia (blue-blind)
#B2A799
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a7b229;
/* rgb */ color: rgb(167, 178, 41);
/* oklch */ color: oklch(73.1% 0.152 114.3);
Tailwind
colors: {
  custom: {
    50: '#c5c86e',
    500: '#a7b229',
    950: '#000000',
  },
}
SCSS
$custom: #a7b229;
$custom-light: #c5c86e;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b229",
  "rgb": {
    "r": 167,
    "g": 178,
    "b": 41
  },
  "hsl": {
    "h": 64.818,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.73119,
    "c": 0.15207,
    "h": 114.3
  },
  "luminance": 0.40216
}

Semantic roles & 50–950 ramp

primary
#A7B229
secondary
#7770C7
accent
#42E64F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7B229

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

Preview Lab → · Contrast checker → · Palette generator →

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