#A7B935#A7B935

#A7B935 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 74.8% C 0.153 H 117.0°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#A7B935
RGBrgb(167, 185, 53)
HSLhsl(68, 55%, 47%)
HSVhsv(68, 71%, 73%)
CMYKcmyk(9.7%, 0%, 71.4%, 27.5%)
CIE-LABlab(71.67, -23.20, 61.18)
CIE-LCHlch(71.67, 65.44, 110.77°)
OKLaboklab(74.78% -0.0695 0.1362)
OKLCHoklch(74.78% 0.153 117)
XYZxyz(33.9287, 43.1709, 9.9129)
Luminance0.4317 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B935 #4735B9
analogous
#B98935 #A7B935 #65B935
triadic
#A7B935 #35A7B9 #B935A7
tetradic
#A7B935 #35B989 #4735B9 #B93565
square
#A7B935 #35B989 #4735B9 #B93565
split-complementary
#A7B935 #3565B9 #8935B9
monochromatic
#515A1A #7C8927 #A7B935 #C0D05B #D2DE8B

Accessibility & contrast

On white

2.18
#A7B935 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#A7B935 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B935
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B935#FFFFFF#000000##000000
##A7B9351.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF1D
Deuteranopia (green-blind)
#C4B040
Tritanopia (blue-blind)
#B1AF9F
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #a7b935;
/* rgb */ color: rgb(167, 185, 53);
/* oklch */ color: oklch(74.8% 0.153 117.0);
Tailwind
colors: {
  custom: {
    50: '#c4ce75',
    500: '#a7b935',
    950: '#000000',
  },
}
SCSS
$custom: #a7b935;
$custom-light: #c4ce75;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b935",
  "rgb": {
    "r": 167,
    "g": 185,
    "b": 53
  },
  "hsl": {
    "h": 68.182,
    "s": 55.462,
    "l": 46.667
  },
  "oklch": {
    "l": 0.74783,
    "c": 0.15293,
    "h": 117
  },
  "luminance": 0.4317
}

Semantic roles & 50–950 ramp

primary
#A7B935
secondary
#8B82C8
accent
#49DF5D
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A7B935

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

Preview Lab → · Contrast checker → · Palette generator →

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