#AFB658#AFB658

#AFB658 is a light, moderate yellow. Relative luminance 0.433; OKLCH L 75.1% C 0.119 H 112.7°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#AFB658
RGBrgb(175, 182, 88)
HSLhsl(64, 39%, 53%)
HSVhsv(64, 52%, 71%)
CMYKcmyk(3.8%, 0%, 51.6%, 28.6%)
CIE-LABlab(71.74, -15.87, 46.45)
CIE-LCHlch(71.74, 49.09, 108.86°)
OKLaboklab(75.09% -0.0459 0.1094)
OKLCHoklch(75.09% 0.119 112.7)
XYZxyz(36.1693, 43.2751, 15.6782)
Luminance0.4327 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB658 #5F58B6
analogous
#B68E58 #AFB658 #80B658
triadic
#AFB658 #58AFB6 #B658AF
tetradic
#AFB658 #58B68E #5F58B6 #B65880
square
#AFB658 #58B68E #5F58B6 #B65880
split-complementary
#AFB658 #5880B6 #8E58B6
monochromatic
#62672D #8B9140 #AFB658 #C3C983 #D8DBAD

Accessibility & contrast

On white

2.18
#AFB658 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.65
#AFB658 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB658
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB658#FFFFFF#000000##000000
##AFB6581.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AF4F
Deuteranopia (green-blind)
#C2B15D
Tritanopia (blue-blind)
#B9ADA1
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #afb658;
/* rgb */ color: rgb(175, 182, 88);
/* oklch */ color: oklch(75.1% 0.119 112.7);
Tailwind
colors: {
  custom: {
    50: '#c9cb8a',
    500: '#afb658',
    950: '#000000',
  },
}
SCSS
$custom: #afb658;
$custom-light: #c9cb8a;
$custom-dark: #000000;
JSON
{
  "hex": "#afb658",
  "rgb": {
    "r": 175,
    "g": 182,
    "b": 88
  },
  "hsl": {
    "h": 64.468,
    "s": 39.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.75088,
    "c": 0.11863,
    "h": 112.7
  },
  "luminance": 0.43274
}

Semantic roles & 50–950 ramp

primary
#AFB658
secondary
#A4A1C9
accent
#59CF62
background
#FCFCF8
surface
#F8F8F0
border
#D1D1CB
text
#13130C
muted
#82827D

Preview Lab

Preview with #AFB658

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

Preview Lab → · Contrast checker → · Palette generator →

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