#ABB274#ABB274

#ABB274 is a light, moderate yellow. Relative luminance 0.418; OKLCH L 74.3% C 0.083 H 113.7°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#ABB274
RGBrgb(171, 178, 116)
HSLhsl(67, 29%, 58%)
HSVhsv(67, 35%, 70%)
CMYKcmyk(3.9%, 0%, 34.8%, 30.2%)
CIE-LABlab(70.71, -12.41, 30.92)
CIE-LCHlch(70.71, 33.31, 111.87°)
OKLaboklab(74.31% -0.0335 0.0764)
OKLCHoklch(74.31% 0.083 113.7)
XYZxyz(35.8675, 41.7601, 22.6906)
Luminance0.4176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ABB274 #7B74B2
analogous
#B29A74 #ABB274 #8CB274
triadic
#ABB274 #74ABB2 #B274AB
tetradic
#ABB274 #74B29A #7B74B2 #B2748C
square
#ABB274 #74B29A #7B74B2 #B2748C
split-complementary
#ABB274 #748CB2 #9A74B2
monochromatic
#696E3D #8E9653 #ABB274 #C3C89B #DBDEC3

Accessibility & contrast

On white

2.25
#ABB274 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#ABB274 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ABB274
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ABB274#FFFFFF#000000##000000
##ABB2741.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBAC70
Deuteranopia (green-blind)
#BAAE77
Tritanopia (blue-blind)
#B2ABA2
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #abb274;
/* rgb */ color: rgb(171, 178, 116);
/* oklch */ color: oklch(74.3% 0.083 113.7);
Tailwind
colors: {
  custom: {
    50: '#c5c99c',
    500: '#abb274',
    950: '#000000',
  },
}
SCSS
$custom: #abb274;
$custom-light: #c5c99c;
$custom-dark: #000000;
JSON
{
  "hex": "#abb274",
  "rgb": {
    "r": 171,
    "g": 178,
    "b": 116
  },
  "hsl": {
    "h": 66.774,
    "s": 28.704,
    "l": 57.647
  },
  "oklch": {
    "l": 0.74309,
    "c": 0.0834,
    "h": 113.7
  },
  "luminance": 0.4176
}

Semantic roles & 50–950 ramp

primary
#ABB274
secondary
#B7B4CD
accent
#63C56E
background
#FCFCF9
surface
#F8F8F2
border
#D1D1CC
text
#13130E
muted
#82827E

Preview Lab

Preview with #ABB274

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

Preview Lab → · Contrast checker → · Palette generator →

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