#A7B545#A7B545

#A7B545 is a light, vivid yellow. Relative luminance 0.417; OKLCH L 74.0% C 0.137 H 115.9°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#A7B545
RGBrgb(167, 181, 69)
HSLhsl(68, 45%, 49%)
HSVhsv(68, 62%, 71%)
CMYKcmyk(7.7%, 0%, 61.9%, 29%)
CIE-LABlab(70.66, -20.22, 53.76)
CIE-LCHlch(70.66, 57.44, 110.61°)
OKLaboklab(74.01% -0.0596 0.123)
OKLCHoklch(74.01% 0.137 115.9)
XYZxyz(33.5351, 41.6934, 11.9101)
Luminance0.4169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B545 #5345B5
analogous
#B58B45 #A7B545 #6FB545
triadic
#A7B545 #45A7B5 #B545A7
tetradic
#A7B545 #45B58B #5345B5 #B5456F
square
#A7B545 #45B58B #5345B5 #B5456F
split-complementary
#A7B545 #456FB5 #8B45B5
monochromatic
#555C23 #7E8934 #A7B545 #BDC86F #D1D99B

Accessibility & contrast

On white

2.25
#A7B545 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#A7B545 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B545
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B545#FFFFFF#000000##000000
##A7B5451.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC38
Deuteranopia (green-blind)
#C0AE4C
Tritanopia (blue-blind)
#B1AB9D
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a7b545;
/* rgb */ color: rgb(167, 181, 69);
/* oklch */ color: oklch(74.0% 0.137 115.9);
Tailwind
colors: {
  custom: {
    50: '#c4cb7e',
    500: '#a7b545',
    950: '#000000',
  },
}
SCSS
$custom: #a7b545;
$custom-light: #c4cb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b545",
  "rgb": {
    "r": 167,
    "g": 181,
    "b": 69
  },
  "hsl": {
    "h": 67.5,
    "s": 44.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.74009,
    "c": 0.13671,
    "h": 115.9
  },
  "luminance": 0.41693
}

Semantic roles & 50–950 ramp

primary
#A7B545
secondary
#9791C5
accent
#53D563
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A7B545

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

Preview Lab → · Contrast checker → · Palette generator →

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