#A8B246#A8B246

#A8B246 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.4% C 0.132 H 114.1°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#A8B246
RGBrgb(168, 178, 70)
HSLhsl(66, 44%, 49%)
HSVhsv(66, 61%, 70%)
CMYKcmyk(5.6%, 0%, 60.7%, 30.2%)
CIE-LABlab(69.90, -18.22, 52.53)
CIE-LCHlch(69.90, 55.60, 109.13°)
OKLaboklab(73.42% -0.054 0.1205)
OKLCHoklch(73.42% 0.132 114.1)
XYZxyz(33.1751, 40.6084, 11.8837)
Luminance0.4061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8B246 #5046B2
analogous
#B28646 #A8B246 #72B246
triadic
#A8B246 #46A8B2 #B246A8
tetradic
#A8B246 #46B286 #5046B2 #B24672
square
#A8B246 #46B286 #5046B2 #B24672
split-complementary
#A8B246 #4672B2 #8646B2
monochromatic
#555A23 #7F8635 #A8B246 #BEC66F #D2D89B

Accessibility & contrast

On white

2.30
#A8B246 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#A8B246 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A8B246
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8B246#FFFFFF#000000##000000
##A8B2461.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA39
Deuteranopia (green-blind)
#BEAC4D
Tritanopia (blue-blind)
#B2A89B
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #a8b246;
/* rgb */ color: rgb(168, 178, 70);
/* oklch */ color: oklch(73.4% 0.132 114.1);
Tailwind
colors: {
  custom: {
    50: '#c4c87e',
    500: '#a8b246',
    950: '#000000',
  },
}
SCSS
$custom: #a8b246;
$custom-light: #c4c87e;
$custom-dark: #000000;
JSON
{
  "hex": "#a8b246",
  "rgb": {
    "r": 168,
    "g": 178,
    "b": 70
  },
  "hsl": {
    "h": 65.556,
    "s": 43.548,
    "l": 48.627
  },
  "oklch": {
    "l": 0.73423,
    "c": 0.13205,
    "h": 114.1
  },
  "luminance": 0.40608
}

Semantic roles & 50–950 ramp

primary
#A8B246
secondary
#9590C4
accent
#55D360
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A8B246

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

Preview Lab → · Contrast checker → · Palette generator →

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