#A7B230#A7B230

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

Color values

HEX#A7B230
RGBrgb(167, 178, 48)
HSLhsl(65, 58%, 44%)
HSVhsv(65, 73%, 70%)
CMYKcmyk(6.2%, 0%, 73%, 30.2%)
CIE-LABlab(69.66, -19.98, 61.02)
CIE-LCHlch(69.66, 64.21, 108.13°)
OKLaboklab(73.16% -0.061 0.135)
OKLCHoklch(73.16% 0.148 114.3)
XYZxyz(32.3912, 40.2703, 8.8624)
Luminance0.4027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B230 #3B30B2
analogous
#B27C30 #A7B230 #66B230
triadic
#A7B230 #30A7B2 #B230A7
tetradic
#A7B230 #30B27C #3B30B2 #B23066
square
#A7B230 #30B27C #3B30B2 #B23066
split-complementary
#A7B230 #3066B2 #7C30B2
monochromatic
#4D5216 #7A8223 #A7B230 #C5D050 #D5DD80

Accessibility & contrast

On white

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

On black

9.05
#A7B230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B230
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B230#FFFFFF#000000##000000
##A7B2301.002.329.059.05
#FFFFFF2.321.0021.0021.00
#0000009.0521.001.001.00
##0000009.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a7b230;
/* rgb */ color: rgb(167, 178, 48);
/* oklch */ color: oklch(73.2% 0.148 114.3);
Tailwind
colors: {
  custom: {
    50: '#c5c872',
    500: '#a7b230',
    950: '#000000',
  },
}
SCSS
$custom: #a7b230;
$custom-light: #c5c872;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b230",
  "rgb": {
    "r": 167,
    "g": 178,
    "b": 48
  },
  "hsl": {
    "h": 65.077,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.73161,
    "c": 0.14818,
    "h": 114.3
  },
  "luminance": 0.4027
}

Semantic roles & 50–950 ramp

primary
#A7B230
secondary
#7F78C6
accent
#47E154
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B

Preview Lab

Preview with #A7B230

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

Preview Lab → · Contrast checker → · Palette generator →

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