#AFB654#AFB654

#AFB654 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.0% C 0.122 H 112.7°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#AFB654
RGBrgb(175, 182, 84)
HSLhsl(64, 40%, 52%)
HSVhsv(64, 54%, 71%)
CMYKcmyk(3.8%, 0%, 53.8%, 28.6%)
CIE-LABlab(71.70, -16.22, 48.30)
CIE-LCHlch(71.70, 50.95, 108.56°)
OKLaboklab(75.04% -0.0473 0.113)
OKLCHoklch(75.04% 0.123 112.7)
XYZxyz(36.0081, 43.2106, 14.8294)
Luminance0.4321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB654 #5B54B6
analogous
#B68C54 #AFB654 #7EB654
triadic
#AFB654 #54AFB6 #B654AF
tetradic
#AFB654 #54B68C #5B54B6 #B6547E
square
#AFB654 #54B68C #5B54B6 #B6547E
split-complementary
#AFB654 #547EB6 #8C54B6
monochromatic
#61652B #8A903D #AFB654 #C3C87F #D7DBAA

Accessibility & contrast

On white

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

On black

9.64
#AFB654 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB654
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB654#FFFFFF#000000##000000
##AFB6541.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AE4A
Deuteranopia (green-blind)
#C2B159
Tritanopia (blue-blind)
#B9ACA0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #afb654;
/* rgb */ color: rgb(175, 182, 84);
/* oklch */ color: oklch(75.0% 0.122 112.7);
Tailwind
colors: {
  custom: {
    50: '#c9cb87',
    500: '#afb654',
    950: '#000000',
  },
}
SCSS
$custom: #afb654;
$custom-light: #c9cb87;
$custom-dark: #000000;
JSON
{
  "hex": "#afb654",
  "rgb": {
    "r": 175,
    "g": 182,
    "b": 84
  },
  "hsl": {
    "h": 64.286,
    "s": 40.164,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75039,
    "c": 0.1225,
    "h": 112.7
  },
  "luminance": 0.4321
}

Semantic roles & 50–950 ramp

primary
#AFB654
secondary
#A19EC8
accent
#58D060
background
#FCFCF8
surface
#F9F8F0
border
#D2D1CB
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFB654

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

Preview Lab → · Contrast checker → · Palette generator →

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