#A7B933#A7B933

#A7B933 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#A7B933
RGBrgb(167, 185, 51)
HSLhsl(68, 57%, 46%)
HSVhsv(68, 72%, 73%)
CMYKcmyk(9.7%, 0%, 72.4%, 27.5%)
CIE-LABlab(71.66, -23.31, 61.89)
CIE-LCHlch(71.66, 66.13, 110.64°)
OKLaboklab(74.77% -0.07 0.1374)
OKLCHoklch(74.77% 0.154 117)
XYZxyz(33.8837, 43.1528, 9.6757)
Luminance0.4315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B933 #4533B9
analogous
#B98833 #A7B933 #64B933
triadic
#A7B933 #33A7B9 #B933A7
tetradic
#A7B933 #33B988 #4533B9 #B93364
square
#A7B933 #33B988 #4533B9 #B93364
split-complementary
#A7B933 #3364B9 #8833B9
monochromatic
#505919 #7C8926 #A7B933 #C1D158 #D3DE88

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7B933#FFFFFF#000000##000000
##A7B9331.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)
#C6AF19
Deuteranopia (green-blind)
#C4B03E
Tritanopia (blue-blind)
#B1AF9F
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a7b933;
/* rgb */ color: rgb(167, 185, 51);
/* oklch */ color: oklch(74.8% 0.154 117.0);
Tailwind
colors: {
  custom: {
    50: '#c4ce74',
    500: '#a7b933',
    950: '#000000',
  },
}
SCSS
$custom: #a7b933;
$custom-light: #c4ce74;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b933",
  "rgb": {
    "r": 167,
    "g": 185,
    "b": 51
  },
  "hsl": {
    "h": 68.06,
    "s": 56.78,
    "l": 46.275
  },
  "oklch": {
    "l": 0.7477,
    "c": 0.15417,
    "h": 117
  },
  "luminance": 0.43152
}

Semantic roles & 50–950 ramp

primary
#A7B933
secondary
#8980C8
accent
#48E05C
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A7B933

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

Preview Lab → · Contrast checker → · Palette generator →

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