#A7B232#A7B232

#A7B232 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.2% C 0.147 H 114.3°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#A7B232
RGBrgb(167, 178, 50)
HSLhsl(65, 56%, 45%)
HSVhsv(65, 72%, 70%)
CMYKcmyk(6.2%, 0%, 71.9%, 30.2%)
CIE-LABlab(69.67, -19.88, 60.32)
CIE-LCHlch(69.67, 63.51, 108.24°)
OKLaboklab(73.17% -0.0606 0.1339)
OKLCHoklch(73.17% 0.147 114.3)
XYZxyz(32.4334, 40.2872, 9.0847)
Luminance0.4029 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B232 #3D32B2
analogous
#B27D32 #A7B232 #67B232
triadic
#A7B232 #32A7B2 #B232A7
tetradic
#A7B232 #32B27D #3D32B2 #B23267
square
#A7B232 #32B27D #3D32B2 #B23267
split-complementary
#A7B232 #3267B2 #7D32B2
monochromatic
#4D5217 #7A8225 #A7B232 #C4CF53 #D4DC82

Accessibility & contrast

On white

2.32
#A7B232 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#A7B232 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B232
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B232#FFFFFF#000000##000000
##A7B2321.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA91A
Deuteranopia (green-blind)
#BEAB3C
Tritanopia (blue-blind)
#B2A799
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #a7b232;
/* rgb */ color: rgb(167, 178, 50);
/* oklch */ color: oklch(73.2% 0.147 114.3);
Tailwind
colors: {
  custom: {
    50: '#c4c873',
    500: '#a7b232',
    950: '#000000',
  },
}
SCSS
$custom: #a7b232;
$custom-light: #c4c873;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b232",
  "rgb": {
    "r": 167,
    "g": 178,
    "b": 50
  },
  "hsl": {
    "h": 65.156,
    "s": 56.14,
    "l": 44.706
  },
  "oklch": {
    "l": 0.73174,
    "c": 0.14696,
    "h": 114.3
  },
  "luminance": 0.40287
}

Semantic roles & 50–950 ramp

primary
#A7B232
secondary
#817BC5
accent
#48DF55
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #A7B232

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

Preview Lab → · Contrast checker → · Palette generator →

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