#A7B135#A7B135

#A7B135 is a light, vivid yellow. Relative luminance 0.399; OKLCH L 73.0% C 0.144 H 114.0°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#A7B135
RGBrgb(167, 177, 53)
HSLhsl(65, 54%, 45%)
HSVhsv(65, 70%, 69%)
CMYKcmyk(5.6%, 0%, 70.1%, 30.6%)
CIE-LABlab(69.41, -19.22, 58.96)
CIE-LCHlch(69.41, 62.01, 108.06°)
OKLaboklab(72.97% -0.0584 0.1315)
OKLCHoklch(72.97% 0.144 114)
XYZxyz(32.3020, 39.9174, 9.3707)
Luminance0.3992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B135 #3F35B1
analogous
#B17D35 #A7B135 #69B135
triadic
#A7B135 #35A7B1 #B135A7
tetradic
#A7B135 #35B17D #3F35B1 #B13569
square
#A7B135 #35B17D #3F35B1 #B13569
split-complementary
#A7B135 #3569B1 #7D35B1
monochromatic
#4E5319 #7B8227 #A7B135 #C3CD57 #D4DB86

Accessibility & contrast

On white

2.34
#A7B135 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#A7B135 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B135
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B135#FFFFFF#000000##000000
##A7B1351.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA820
Deuteranopia (green-blind)
#BEAB3E
Tritanopia (blue-blind)
#B2A799
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #a7b135;
/* rgb */ color: rgb(167, 177, 53);
/* oklch */ color: oklch(73.0% 0.144 114.0);
Tailwind
colors: {
  custom: {
    50: '#c4c874',
    500: '#a7b135',
    950: '#000000',
  },
}
SCSS
$custom: #a7b135;
$custom-light: #c4c874;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b135",
  "rgb": {
    "r": 167,
    "g": 177,
    "b": 53
  },
  "hsl": {
    "h": 64.839,
    "s": 53.913,
    "l": 45.098
  },
  "oklch": {
    "l": 0.7297,
    "c": 0.14394,
    "h": 114
  },
  "luminance": 0.39917
}

Semantic roles & 50–950 ramp

primary
#A7B135
secondary
#837DC4
accent
#4BDD56
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A7B135

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

Preview Lab → · Contrast checker → · Palette generator →

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