#A7B538#A7B538

#A7B538 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 73.9% C 0.146 H 115.6°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#A7B538
RGBrgb(167, 181, 56)
HSLhsl(67, 53%, 46%)
HSVhsv(67, 69%, 71%)
CMYKcmyk(7.7%, 0%, 69.1%, 29%)
CIE-LABlab(70.56, -21.06, 58.97)
CIE-LCHlch(70.56, 62.61, 109.65°)
OKLaboklab(73.9% -0.0633 0.1321)
OKLCHoklch(73.9% 0.146 115.6)
XYZxyz(33.1749, 41.5493, 10.0128)
Luminance0.4155 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B538 #4638B5
analogous
#B58538 #A7B538 #69B538
triadic
#A7B538 #38A7B5 #B538A7
tetradic
#A7B538 #38B585 #4638B5 #B53869
square
#A7B538 #38B585 #4638B5 #B53869
split-complementary
#A7B538 #3869B5 #8538B5
monochromatic
#51581B #7C862A #A7B538 #C0CD5D #D3DB8C

Accessibility & contrast

On white

2.26
#A7B538 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#A7B538 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B538
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B538#FFFFFF#000000##000000
##A7B5381.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AC24
Deuteranopia (green-blind)
#C1AE41
Tritanopia (blue-blind)
#B2AB9C
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #a7b538;
/* rgb */ color: rgb(167, 181, 56);
/* oklch */ color: oklch(73.9% 0.146 115.6);
Tailwind
colors: {
  custom: {
    50: '#c4cb76',
    500: '#a7b538',
    950: '#000000',
  },
}
SCSS
$custom: #a7b538;
$custom-light: #c4cb76;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b538",
  "rgb": {
    "r": 167,
    "g": 181,
    "b": 56
  },
  "hsl": {
    "h": 66.72,
    "s": 52.743,
    "l": 46.471
  },
  "oklch": {
    "l": 0.73897,
    "c": 0.14643,
    "h": 115.6
  },
  "luminance": 0.41549
}

Semantic roles & 50–950 ramp

primary
#A7B538
secondary
#8A83C6
accent
#4CDC5C
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A7B538

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

Preview Lab → · Contrast checker → · Palette generator →

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