#A7B934#A7B934

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

Color values

HEX#A7B934
RGBrgb(167, 185, 52)
HSLhsl(68, 56%, 46%)
HSVhsv(68, 72%, 73%)
CMYKcmyk(9.7%, 0%, 71.9%, 27.5%)
CIE-LABlab(71.66, -23.26, 61.54)
CIE-LCHlch(71.66, 65.79, 110.70°)
OKLaboklab(74.78% -0.0698 0.1368)
OKLCHoklch(74.78% 0.154 117)
XYZxyz(33.9060, 43.1618, 9.7930)
Luminance0.4316 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B934 #4634B9
analogous
#B98934 #A7B934 #65B934
triadic
#A7B934 #34A7B9 #B934A7
tetradic
#A7B934 #34B989 #4634B9 #B93465
square
#A7B934 #34B989 #4634B9 #B93465
split-complementary
#A7B934 #3465B9 #8934B9
monochromatic
#515919 #7C8927 #A7B934 #C0D15A #D3DE89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7B934#FFFFFF#000000##000000
##A7B9341.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)
#C6AF1B
Deuteranopia (green-blind)
#C4B03F
Tritanopia (blue-blind)
#B1AF9F
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a7b934;
/* rgb */ color: rgb(167, 185, 52);
/* oklch */ color: oklch(74.8% 0.154 117.0);
Tailwind
colors: {
  custom: {
    50: '#c4ce75',
    500: '#a7b934',
    950: '#000000',
  },
}
SCSS
$custom: #a7b934;
$custom-light: #c4ce75;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b934",
  "rgb": {
    "r": 167,
    "g": 185,
    "b": 52
  },
  "hsl": {
    "h": 68.12,
    "s": 56.118,
    "l": 46.471
  },
  "oklch": {
    "l": 0.74776,
    "c": 0.15356,
    "h": 117
  },
  "luminance": 0.43161
}

Semantic roles & 50–950 ramp

primary
#A7B934
secondary
#8A81C8
accent
#48DF5D
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A7B934

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

Preview Lab → · Contrast checker → · Palette generator →

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