#A7B733#A7B733

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

Color values

HEX#A7B733
RGBrgb(167, 183, 51)
HSLhsl(67, 56%, 46%)
HSVhsv(67, 72%, 72%)
CMYKcmyk(8.7%, 0%, 72.1%, 28.2%)
CIE-LABlab(71.09, -22.32, 61.34)
CIE-LCHlch(71.09, 65.27, 110.00°)
OKLaboklab(74.32% -0.0673 0.1362)
OKLCHoklch(74.32% 0.152 116.3)
XYZxyz(33.4682, 42.3219, 9.5372)
Luminance0.4232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B733 #4333B7
analogous
#B78533 #A7B733 #65B733
triadic
#A7B733 #33A7B7 #B733A7
tetradic
#A7B733 #33B785 #4333B7 #B73365
square
#A7B733 #33B785 #4333B7 #B73365
split-complementary
#A7B733 #3365B7 #8533B7
monochromatic
#505718 #7B8726 #A7B733 #C1D057 #D3DE87

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7B733#FFFFFF#000000##000000
##A7B7331.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)
#C4AD1A
Deuteranopia (green-blind)
#C2AF3E
Tritanopia (blue-blind)
#B2AD9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a7b733;
/* rgb */ color: rgb(167, 183, 51);
/* oklch */ color: oklch(74.3% 0.152 116.3);
Tailwind
colors: {
  custom: {
    50: '#c4cc74',
    500: '#a7b733',
    950: '#000000',
  },
}
SCSS
$custom: #a7b733;
$custom-light: #c4cc74;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b733",
  "rgb": {
    "r": 167,
    "g": 183,
    "b": 51
  },
  "hsl": {
    "h": 67.273,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.74315,
    "c": 0.15191,
    "h": 116.3
  },
  "luminance": 0.42321
}

Semantic roles & 50–950 ramp

primary
#A7B733
secondary
#877FC7
accent
#48E05A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A7B733

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

Preview Lab → · Contrast checker → · Palette generator →

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