#A7B335#A7B335

#A7B335 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.4% C 0.146 H 114.8°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#A7B335
RGBrgb(167, 179, 53)
HSLhsl(66, 54%, 45%)
HSVhsv(66, 70%, 70%)
CMYKcmyk(6.7%, 0%, 70.4%, 29.8%)
CIE-LABlab(69.97, -20.23, 59.52)
CIE-LCHlch(69.97, 62.86, 108.77°)
OKLaboklab(73.42% -0.0612 0.1327)
OKLCHoklch(73.42% 0.146 114.8)
XYZxyz(32.6999, 40.7133, 9.5033)
Luminance0.4071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B335 #4135B3
analogous
#B38035 #A7B335 #68B335
triadic
#A7B335 #35A7B3 #B335A7
tetradic
#A7B335 #35B380 #4135B3 #B33568
square
#A7B335 #35B380 #4135B3 #B33568
split-complementary
#A7B335 #3568B3 #8035B3
monochromatic
#4F5519 #7B8427 #A7B335 #C2CD58 #D3DB87

Accessibility & contrast

On white

2.30
#A7B335 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#A7B335 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B335
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B335#FFFFFF#000000##000000
##A7B3351.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA20
Deuteranopia (green-blind)
#BFAC3F
Tritanopia (blue-blind)
#B2A99A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a7b335;
/* rgb */ color: rgb(167, 179, 53);
/* oklch */ color: oklch(73.4% 0.146 114.8);
Tailwind
colors: {
  custom: {
    50: '#c4c974',
    500: '#a7b335',
    950: '#000000',
  },
}
SCSS
$custom: #a7b335;
$custom-light: #c4c974;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b335",
  "rgb": {
    "r": 167,
    "g": 179,
    "b": 53
  },
  "hsl": {
    "h": 65.714,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.73422,
    "c": 0.14616,
    "h": 114.8
  },
  "luminance": 0.40713
}

Semantic roles & 50–950 ramp

primary
#A7B335
secondary
#857FC5
accent
#4ADE58
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A7B335

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

Preview Lab → · Contrast checker → · Palette generator →

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