#A7B62F#A7B62F

#A7B62F is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.1% C 0.153 H 115.9°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#A7B62F
RGBrgb(167, 182, 47)
HSLhsl(67, 59%, 45%)
HSVhsv(67, 74%, 71%)
CMYKcmyk(8.2%, 0%, 74.2%, 28.6%)
CIE-LABlab(70.79, -22.02, 62.43)
CIE-LCHlch(70.79, 66.20, 109.43°)
OKLaboklab(74.06% -0.0668 0.1378)
OKLCHoklch(74.06% 0.153 115.9)
XYZxyz(33.1783, 41.8771, 9.0241)
Luminance0.4188 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B62F #3E2FB6
analogous
#B6822F #A7B62F #63B62F
triadic
#A7B62F #2FA7B6 #B62FA7
tetradic
#A7B62F #2FB682 #3E2FB6 #B62F63
square
#A7B62F #2FB682 #3E2FB6 #B62F63
split-complementary
#A7B62F #2F63B6 #822FB6
monochromatic
#4E5516 #7A8522 #A7B62F #C3D250 #D4DE81

Accessibility & contrast

On white

2.24
#A7B62F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#A7B62F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B62F
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B62F#FFFFFF#000000##000000
##A7B62F1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7b62f;
/* rgb */ color: rgb(167, 182, 47);
/* oklch */ color: oklch(74.1% 0.153 115.9);
Tailwind
colors: {
  custom: {
    50: '#c5cb72',
    500: '#a7b62f',
    950: '#000000',
  },
}
SCSS
$custom: #a7b62f;
$custom-light: #c5cb72;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b62f",
  "rgb": {
    "r": 167,
    "g": 182,
    "b": 47
  },
  "hsl": {
    "h": 66.667,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.74061,
    "c": 0.15316,
    "h": 115.9
  },
  "luminance": 0.41877
}

Semantic roles & 50–950 ramp

primary
#A7B62F
secondary
#8279C7
accent
#46E257
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7B62F

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

Preview Lab → · Contrast checker → · Palette generator →

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