#A7B330#A7B330

#A7B330 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.4% C 0.149 H 114.7°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#A7B330
RGBrgb(167, 179, 48)
HSLhsl(65, 58%, 45%)
HSVhsv(65, 73%, 70%)
CMYKcmyk(6.7%, 0%, 73.2%, 29.8%)
CIE-LABlab(69.94, -20.48, 61.29)
CIE-LCHlch(69.94, 64.62, 108.48°)
OKLaboklab(73.39% -0.0624 0.1356)
OKLCHoklch(73.39% 0.149 114.7)
XYZxyz(32.5909, 40.6697, 8.9289)
Luminance0.4067 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B330 #3C30B3
analogous
#B37E30 #A7B330 #66B330
triadic
#A7B330 #30A7B3 #B330A7
tetradic
#A7B330 #30B37E #3C30B3 #B33066
square
#A7B330 #30B37E #3C30B3 #B33066
split-complementary
#A7B330 #3066B3 #7E30B3
monochromatic
#4D5216 #7A8323 #A7B330 #C4D050 #D5DD80

Accessibility & contrast

On white

2.30
#A7B330 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#A7B330 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B330
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B330#FFFFFF#000000##000000
##A7B3301.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA16
Deuteranopia (green-blind)
#BFAC3B
Tritanopia (blue-blind)
#B2A89A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a7b330;
/* rgb */ color: rgb(167, 179, 48);
/* oklch */ color: oklch(73.4% 0.149 114.7);
Tailwind
colors: {
  custom: {
    50: '#c5c972',
    500: '#a7b330',
    950: '#000000',
  },
}
SCSS
$custom: #a7b330;
$custom-light: #c5c972;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b330",
  "rgb": {
    "r": 167,
    "g": 179,
    "b": 48
  },
  "hsl": {
    "h": 65.496,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.73387,
    "c": 0.14927,
    "h": 114.7
  },
  "luminance": 0.40669
}

Semantic roles & 50–950 ramp

primary
#A7B330
secondary
#8079C6
accent
#47E155
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7B330

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

Preview Lab → · Contrast checker → · Palette generator →

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