#A7B930#A7B930

#A7B930 is a light, vivid yellow. Relative luminance 0.431; OKLCH L 74.8% C 0.156 H 116.9°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#A7B930
RGBrgb(167, 185, 48)
HSLhsl(68, 59%, 46%)
HSVhsv(68, 74%, 73%)
CMYKcmyk(9.7%, 0%, 74.1%, 27.5%)
CIE-LABlab(71.64, -23.46, 62.91)
CIE-LCHlch(71.64, 67.14, 110.45°)
OKLaboklab(74.75% -0.0707 0.139)
OKLCHoklch(74.75% 0.156 116.9)
XYZxyz(33.8196, 43.1272, 9.3385)
Luminance0.4313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B930 #4230B9
analogous
#B98630 #A7B930 #62B930
triadic
#A7B930 #30A7B9 #B930A7
tetradic
#A7B930 #30B986 #4230B9 #B93062
square
#A7B930 #30B986 #4230B9 #B93062
split-complementary
#A7B930 #3062B9 #8630B9
monochromatic
#4F5817 #7B8823 #A7B930 #C2D354 #D3DF84

Accessibility & contrast

On white

2.18
#A7B930 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#A7B930 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B930
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B930#FFFFFF#000000##000000
##A7B9301.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF12
Deuteranopia (green-blind)
#C4B03C
Tritanopia (blue-blind)
#B2AE9F
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a7b930;
/* rgb */ color: rgb(167, 185, 48);
/* oklch */ color: oklch(74.8% 0.156 116.9);
Tailwind
colors: {
  custom: {
    50: '#c5cd73',
    500: '#a7b930',
    950: '#000000',
  },
}
SCSS
$custom: #a7b930;
$custom-light: #c5cd73;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b930",
  "rgb": {
    "r": 167,
    "g": 185,
    "b": 48
  },
  "hsl": {
    "h": 67.883,
    "s": 58.798,
    "l": 45.686
  },
  "oklch": {
    "l": 0.7475,
    "c": 0.15593,
    "h": 116.9
  },
  "luminance": 0.43127
}

Semantic roles & 50–950 ramp

primary
#A7B930
secondary
#867CC9
accent
#46E25A
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A7B930

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

Preview Lab → · Contrast checker → · Palette generator →

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