#ABB238#ABB238

#ABB238 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.5% C 0.142 H 112.6°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#ABB238
RGBrgb(171, 178, 56)
HSLhsl(63, 52%, 46%)
HSVhsv(63, 69%, 70%)
CMYKcmyk(3.9%, 0%, 68.5%, 30.2%)
CIE-LABlab(70.03, -17.86, 58.53)
CIE-LCHlch(70.03, 61.19, 106.97°)
OKLaboklab(73.55% -0.0546 0.131)
OKLCHoklch(73.55% 0.142 112.6)
XYZxyz(33.4298, 40.7850, 9.8519)
Luminance0.4078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB238 #3F38B2
analogous
#B27C38 #ABB238 #6EB238
triadic
#ABB238 #38ABB2 #B238AB
tetradic
#ABB238 #38B27C #3F38B2 #B2386E
square
#ABB238 #38B27C #3F38B2 #B2386E
split-complementary
#ABB238 #386EB2 #7C38B2
monochromatic
#52551B #7E8329 #ABB238 #C5CC5C #D6DA8A

Accessibility & contrast

On white

2.29
#ABB238 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#ABB238 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB238
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB238#FFFFFF#000000##000000
##ABB2381.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA25
Deuteranopia (green-blind)
#BFAD41
Tritanopia (blue-blind)
#B6A79A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #abb238;
/* rgb */ color: rgb(171, 178, 56);
/* oklch */ color: oklch(73.5% 0.142 112.6);
Tailwind
colors: {
  custom: {
    50: '#c7c876',
    500: '#abb238',
    950: '#000000',
  },
}
SCSS
$custom: #abb238;
$custom-light: #c7c876;
$custom-dark: #000000;
JSON
{
  "hex": "#abb238",
  "rgb": {
    "r": 171,
    "g": 178,
    "b": 56
  },
  "hsl": {
    "h": 63.443,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.73546,
    "c": 0.14193,
    "h": 112.6
  },
  "luminance": 0.40784
}

Semantic roles & 50–950 ramp

primary
#ABB238
secondary
#8581C5
accent
#4CDC54
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#131309
muted
#82827B

Preview Lab

Preview with #ABB238

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

Preview Lab → · Contrast checker → · Palette generator →

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