#A7B248#A7B248

#A7B248 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.4% C 0.131 H 114.6°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#A7B248
RGBrgb(167, 178, 72)
HSLhsl(66, 42%, 49%)
HSVhsv(66, 60%, 70%)
CMYKcmyk(6.2%, 0%, 59.6%, 30.2%)
CIE-LABlab(69.84, -18.49, 51.55)
CIE-LCHlch(69.84, 54.77, 109.73°)
OKLaboklab(73.36% -0.0545 0.1187)
OKLCHoklch(73.36% 0.131 114.6)
XYZxyz(33.0272, 40.5247, 12.2118)
Luminance0.4052 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7B248 #5348B2
analogous
#B28848 #A7B248 #72B248
triadic
#A7B248 #48A7B2 #B248A7
tetradic
#A7B248 #48B288 #5348B2 #B24872
square
#A7B248 #48B288 #5348B2 #B24872
split-complementary
#A7B248 #4872B2 #8848B2
monochromatic
#555B25 #7E8636 #A7B248 #BDC671 #D1D79D

Accessibility & contrast

On white

2.31
#A7B248 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.10
#A7B248 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A7B248
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7B248#FFFFFF#000000##000000
##A7B2481.002.319.109.10
#FFFFFF2.311.0021.0021.00
#0000009.1021.001.001.00
##0000009.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA3C
Deuteranopia (green-blind)
#BDAC4F
Tritanopia (blue-blind)
#B1A89B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a7b248;
/* rgb */ color: rgb(167, 178, 72);
/* oklch */ color: oklch(73.4% 0.131 114.6);
Tailwind
colors: {
  custom: {
    50: '#c3c87f',
    500: '#a7b248',
    950: '#000000',
  },
}
SCSS
$custom: #a7b248;
$custom-light: #c3c87f;
$custom-dark: #000000;
JSON
{
  "hex": "#a7b248",
  "rgb": {
    "r": 167,
    "g": 178,
    "b": 72
  },
  "hsl": {
    "h": 66.226,
    "s": 42.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73363,
    "c": 0.13062,
    "h": 114.6
  },
  "luminance": 0.40524
}

Semantic roles & 50–950 ramp

primary
#A7B248
secondary
#9792C4
accent
#56D263
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A7B248

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

Preview Lab → · Contrast checker → · Palette generator →

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