#A7B62B#A7B62B

#A7B62B is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.0% C 0.155 H 115.8°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#A7B62B
RGBrgb(167, 182, 43)
HSLhsl(66, 62%, 44%)
HSVhsv(66, 76%, 71%)
CMYKcmyk(8.2%, 0%, 76.4%, 28.6%)
CIE-LABlab(70.76, -22.21, 63.72)
CIE-LCHlch(70.76, 67.48, 109.21°)
OKLaboklab(74.04% -0.0676 0.1399)
OKLCHoklch(74.04% 0.155 115.8)
XYZxyz(33.1013, 41.8463, 8.6184)
Luminance0.4185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B62B #3A2BB6
analogous
#B6802B #A7B62B #62B62B
triadic
#A7B62B #2BA7B6 #B62BA7
tetradic
#A7B62B #2BB680 #3A2BB6 #B62B62
square
#A7B62B #2BB680 #3A2BB6 #B62B62
split-complementary
#A7B62B #2B62B6 #802BB6
monochromatic
#4C5314 #7A841F #A7B62B #C5D44A #D5E07B

Accessibility & contrast

On white

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

On black

9.37
#A7B62B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B62B
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B62B#FFFFFF#000000##000000
##A7B62B1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7b62b;
/* rgb */ color: rgb(167, 182, 43);
/* oklch */ color: oklch(74.0% 0.155 115.8);
Tailwind
colors: {
  custom: {
    50: '#c5cb70',
    500: '#a7b62b',
    950: '#000000',
  },
}
SCSS
$custom: #a7b62b;
$custom-light: #c5cb70;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b62b",
  "rgb": {
    "r": 167,
    "g": 182,
    "b": 43
  },
  "hsl": {
    "h": 66.475,
    "s": 61.778,
    "l": 44.118
  },
  "oklch": {
    "l": 0.74038,
    "c": 0.15535,
    "h": 115.8
  },
  "luminance": 0.41846
}

Semantic roles & 50–950 ramp

primary
#A7B62B
secondary
#7E75C8
accent
#43E554
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7B62B

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

Preview Lab → · Contrast checker → · Palette generator →

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