#AFB355#AFB355

#AFB355 is a light, moderate yellow. Relative luminance 0.420; OKLCH L 74.4% C 0.118 H 111.1°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#AFB355
RGBrgb(175, 179, 85)
HSLhsl(63, 38%, 52%)
HSVhsv(63, 53%, 70%)
CMYKcmyk(2.2%, 0%, 52.5%, 29.8%)
CIE-LABlab(70.88, -14.60, 46.88)
CIE-LCHlch(70.88, 49.10, 107.30°)
OKLaboklab(74.39% -0.0426 0.11)
OKLCHoklch(74.39% 0.118 111.1)
XYZxyz(35.4398, 42.0108, 14.8346)
Luminance0.4201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB355 #5955B3
analogous
#B38855 #AFB355 #80B355
triadic
#AFB355 #55AFB3 #B355AF
tetradic
#AFB355 #55B388 #5955B3 #B35580
square
#AFB355 #55B388 #5955B3 #B35580
split-complementary
#AFB355 #5580B3 #8855B3
monochromatic
#60622C #898C3F #AFB355 #C3C67F #D7D9AA

Accessibility & contrast

On white

2.23
#AFB355 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#AFB355 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB355
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB355#FFFFFF#000000##000000
##AFB3551.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAC4C
Deuteranopia (green-blind)
#C0AF5A
Tritanopia (blue-blind)
#B9AA9E
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afb355;
/* rgb */ color: rgb(175, 179, 85);
/* oklch */ color: oklch(74.4% 0.118 111.1);
Tailwind
colors: {
  custom: {
    50: '#c9c988',
    500: '#afb355',
    950: '#000000',
  },
}
SCSS
$custom: #afb355;
$custom-light: #c9c988;
$custom-dark: #000000;
JSON
{
  "hex": "#afb355",
  "rgb": {
    "r": 175,
    "g": 179,
    "b": 85
  },
  "hsl": {
    "h": 62.553,
    "s": 38.211,
    "l": 51.765
  },
  "oklch": {
    "l": 0.74388,
    "c": 0.11799,
    "h": 111.1
  },
  "luminance": 0.4201
}

Semantic roles & 50–950 ramp

primary
#AFB355
secondary
#9F9DC7
accent
#5ACE5F
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFB355

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

Preview Lab → · Contrast checker → · Palette generator →

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