#A7B830#A7B830

#A7B830 is a light, vivid yellow. Relative luminance 0.427; OKLCH L 74.5% C 0.155 H 116.6°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#A7B830
RGBrgb(167, 184, 48)
HSLhsl(68, 59%, 45%)
HSVhsv(68, 74%, 72%)
CMYKcmyk(9.2%, 0%, 73.9%, 27.8%)
CIE-LABlab(71.36, -22.96, 62.64)
CIE-LCHlch(71.36, 66.71, 110.13°)
OKLaboklab(74.52% -0.0693 0.1384)
OKLCHoklch(74.52% 0.155 116.6)
XYZxyz(33.6112, 42.7103, 9.2690)
Luminance0.4271 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B830 #4130B8
analogous
#B88530 #A7B830 #63B830
triadic
#A7B830 #30A7B8 #B830A7
tetradic
#A7B830 #30B885 #4130B8 #B83063
square
#A7B830 #30B885 #4130B8 #B83063
split-complementary
#A7B830 #3063B8 #8530B8
monochromatic
#4F5717 #7B8723 #A7B830 #C2D253 #D3DF84

Accessibility & contrast

On white

2.20
#A7B830 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#A7B830 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B830
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B830#FFFFFF#000000##000000
##A7B8301.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AE13
Deuteranopia (green-blind)
#C3B03C
Tritanopia (blue-blind)
#B2AD9E
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #a7b830;
/* rgb */ color: rgb(167, 184, 48);
/* oklch */ color: oklch(74.5% 0.155 116.6);
Tailwind
colors: {
  custom: {
    50: '#c5cd72',
    500: '#a7b830',
    950: '#000000',
  },
}
SCSS
$custom: #a7b830;
$custom-light: #c5cd72;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b830",
  "rgb": {
    "r": 167,
    "g": 184,
    "b": 48
  },
  "hsl": {
    "h": 67.5,
    "s": 58.621,
    "l": 45.49
  },
  "oklch": {
    "l": 0.74522,
    "c": 0.15482,
    "h": 116.6
  },
  "luminance": 0.4271
}

Semantic roles & 50–950 ramp

primary
#A7B830
secondary
#857CC8
accent
#46E259
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A7B830

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

Preview Lab → · Contrast checker → · Palette generator →

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