#ABB338#ABB338

#ABB338 is a light, vivid yellow. Relative luminance 0.412; OKLCH L 73.8% C 0.143 H 113.0°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#ABB338
RGBrgb(171, 179, 56)
HSLhsl(64, 52%, 46%)
HSVhsv(64, 69%, 70%)
CMYKcmyk(4.5%, 0%, 68.7%, 29.8%)
CIE-LABlab(70.30, -18.36, 58.81)
CIE-LCHlch(70.30, 61.61, 107.34°)
OKLaboklab(73.77% -0.056 0.1316)
OKLCHoklch(73.77% 0.143 113)
XYZxyz(33.6295, 41.1844, 9.9185)
Luminance0.4118 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB338 #4038B3
analogous
#B37D38 #ABB338 #6DB338
triadic
#ABB338 #38ABB3 #B338AB
tetradic
#ABB338 #38B37D #4038B3 #B3386D
square
#ABB338 #38B37D #4038B3 #B3386D
split-complementary
#ABB338 #386DB3 #7D38B3
monochromatic
#52561B #7E8429 #ABB338 #C5CC5C #D5DB8B

Accessibility & contrast

On white

2.27
#ABB338 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#ABB338 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB338
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB338#FFFFFF#000000##000000
##ABB3381.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB25
Deuteranopia (green-blind)
#C0AD41
Tritanopia (blue-blind)
#B6A89B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #abb338;
/* rgb */ color: rgb(171, 179, 56);
/* oklch */ color: oklch(73.8% 0.143 113.0);
Tailwind
colors: {
  custom: {
    50: '#c7c976',
    500: '#abb338',
    950: '#000000',
  },
}
SCSS
$custom: #abb338;
$custom-light: #c7c976;
$custom-dark: #000000;
JSON
{
  "hex": "#abb338",
  "rgb": {
    "r": 171,
    "g": 179,
    "b": 56
  },
  "hsl": {
    "h": 63.902,
    "s": 52.34,
    "l": 46.078
  },
  "oklch": {
    "l": 0.7377,
    "c": 0.14302,
    "h": 113
  },
  "luminance": 0.41184
}

Semantic roles & 50–950 ramp

primary
#ABB338
secondary
#8682C5
accent
#4CDC55
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #ABB338

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

Preview Lab → · Contrast checker → · Palette generator →

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