#A7B730#A7B730

#A7B730 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.3% C 0.154 H 116.2°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#A7B730
RGBrgb(167, 183, 48)
HSLhsl(67, 58%, 45%)
HSVhsv(67, 74%, 72%)
CMYKcmyk(8.7%, 0%, 73.8%, 28.2%)
CIE-LABlab(71.07, -22.47, 62.37)
CIE-LCHlch(71.07, 66.29, 109.81°)
OKLaboklab(74.3% -0.0679 0.1379)
OKLCHoklch(74.3% 0.154 116.2)
XYZxyz(33.4042, 42.2963, 9.2000)
Luminance0.4230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B730 #4030B7
analogous
#B78330 #A7B730 #63B730
triadic
#A7B730 #30A7B7 #B730A7
tetradic
#A7B730 #30B783 #4030B7 #B73063
square
#A7B730 #30B783 #4030B7 #B73063
split-complementary
#A7B730 #3063B7 #8330B7
monochromatic
#4F5617 #7B8723 #A7B730 #C3D252 #D4DE83

Accessibility & contrast

On white

2.22
#A7B730 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#A7B730 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B730
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B730#FFFFFF#000000##000000
##A7B7301.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD14
Deuteranopia (green-blind)
#C3AF3B
Tritanopia (blue-blind)
#B2AC9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a7b730;
/* rgb */ color: rgb(167, 183, 48);
/* oklch */ color: oklch(74.3% 0.154 116.2);
Tailwind
colors: {
  custom: {
    50: '#c5cc72',
    500: '#a7b730',
    950: '#000000',
  },
}
SCSS
$custom: #a7b730;
$custom-light: #c5cc72;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b730",
  "rgb": {
    "r": 167,
    "g": 183,
    "b": 48
  },
  "hsl": {
    "h": 67.111,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.74295,
    "c": 0.1537,
    "h": 116.2
  },
  "luminance": 0.42296
}

Semantic roles & 50–950 ramp

primary
#A7B730
secondary
#847BC8
accent
#46E259
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A7B730

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

Preview Lab → · Contrast checker → · Palette generator →

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