#AFB558#AFB558

#AFB558 is a light, moderate yellow. Relative luminance 0.429; OKLCH L 74.9% C 0.117 H 112.2°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#AFB558
RGBrgb(175, 181, 88)
HSLhsl(64, 39%, 53%)
HSVhsv(64, 51%, 71%)
CMYKcmyk(3.3%, 0%, 51.4%, 29%)
CIE-LABlab(71.46, -15.36, 46.13)
CIE-LCHlch(71.46, 48.61, 108.41°)
OKLaboklab(74.87% -0.0444 0.1087)
OKLCHoklch(74.87% 0.117 112.2)
XYZxyz(35.9652, 42.8670, 15.6102)
Luminance0.4287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB558 #5E58B5
analogous
#B58C58 #AFB558 #80B558
triadic
#AFB558 #58AFB5 #B558AF
tetradic
#AFB558 #58B58C #5E58B5 #B55880
square
#AFB558 #58B58C #5E58B5 #B55880
split-complementary
#AFB558 #5880B5 #8C58B5
monochromatic
#62662D #8B9040 #AFB558 #C3C882 #D8DBAD

Accessibility & contrast

On white

2.19
#AFB558 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#AFB558 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB558
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB558#FFFFFF#000000##000000
##AFB5581.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AE4F
Deuteranopia (green-blind)
#C1B05D
Tritanopia (blue-blind)
#B9ACA0
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #afb558;
/* rgb */ color: rgb(175, 181, 88);
/* oklch */ color: oklch(74.9% 0.117 112.2);
Tailwind
colors: {
  custom: {
    50: '#c9cb8a',
    500: '#afb558',
    950: '#000000',
  },
}
SCSS
$custom: #afb558;
$custom-light: #c9cb8a;
$custom-dark: #000000;
JSON
{
  "hex": "#afb558",
  "rgb": {
    "r": 175,
    "g": 181,
    "b": 88
  },
  "hsl": {
    "h": 63.871,
    "s": 38.589,
    "l": 52.745
  },
  "oklch": {
    "l": 0.74867,
    "c": 0.11742,
    "h": 112.2
  },
  "luminance": 0.42866
}

Semantic roles & 50–950 ramp

primary
#AFB558
secondary
#A3A0C9
accent
#59CF61
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFB558

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

Preview Lab → · Contrast checker → · Palette generator →

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