#A7B738#A7B738

#A7B738 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.4% C 0.149 H 116.4°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#A7B738
RGBrgb(167, 183, 56)
HSLhsl(68, 53%, 47%)
HSVhsv(68, 69%, 72%)
CMYKcmyk(8.7%, 0%, 69.4%, 28.2%)
CIE-LABlab(71.12, -22.05, 59.53)
CIE-LCHlch(71.12, 63.48, 110.33°)
OKLaboklab(74.35% -0.066 0.1332)
OKLCHoklch(74.35% 0.149 116.4)
XYZxyz(33.5844, 42.3684, 10.1493)
Luminance0.4237 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B738 #4838B7
analogous
#B78838 #A7B738 #68B738
triadic
#A7B738 #38A7B7 #B738A7
tetradic
#A7B738 #38B788 #4838B7 #B73868
square
#A7B738 #38B788 #4838B7 #B73868
split-complementary
#A7B738 #3868B7 #8838B7
monochromatic
#51591B #7C882A #A7B738 #C0CE5E #D2DC8D

Accessibility & contrast

On white

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

On black

9.47
#A7B738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B738
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B738#FFFFFF#000000##000000
##A7B7381.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AD24
Deuteranopia (green-blind)
#C2AF42
Tritanopia (blue-blind)
#B1AD9E
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #a7b738;
/* rgb */ color: rgb(167, 183, 56);
/* oklch */ color: oklch(74.4% 0.149 116.4);
Tailwind
colors: {
  custom: {
    50: '#c4cc76',
    500: '#a7b738',
    950: '#000000',
  },
}
SCSS
$custom: #a7b738;
$custom-light: #c4cc76;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b738",
  "rgb": {
    "r": 167,
    "g": 183,
    "b": 56
  },
  "hsl": {
    "h": 67.559,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.7435,
    "c": 0.14871,
    "h": 116.4
  },
  "luminance": 0.42368
}

Semantic roles & 50–950 ramp

primary
#A7B738
secondary
#8C84C7
accent
#4BDD5E
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A7B738

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

Preview Lab → · Contrast checker → · Palette generator →

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