#AFB44D#AFB44D

#AFB44D is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.5% C 0.127 H 111.7°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#AFB44D
RGBrgb(175, 180, 77)
HSLhsl(63, 41%, 50%)
HSVhsv(63, 57%, 71%)
CMYKcmyk(2.8%, 0%, 57.2%, 29.4%)
CIE-LABlab(71.07, -15.77, 50.84)
CIE-LCHlch(71.07, 53.23, 107.23°)
OKLaboklab(74.52% -0.0467 0.1177)
OKLCHoklch(74.52% 0.127 111.7)
XYZxyz(35.3409, 42.2931, 13.3214)
Luminance0.4229 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB44D #524DB4
analogous
#B4864D #AFB44D #7BB44D
triadic
#AFB44D #4DAFB4 #B44DAF
tetradic
#AFB44D #4DB486 #524DB4 #B44D7B
square
#AFB44D #4DB486 #524DB4 #B44D7B
split-complementary
#AFB44D #4D7BB4 #864DB4
monochromatic
#5C5F28 #868A3A #AFB44D #C2C678 #D6D8A3

Accessibility & contrast

On white

2.22
#AFB44D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.46
#AFB44D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB44D
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB44D#FFFFFF#000000##000000
##AFB44D1.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD42
Deuteranopia (green-blind)
#C1AF53
Tritanopia (blue-blind)
#BAAA9E
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #afb44d;
/* rgb */ color: rgb(175, 180, 77);
/* oklch */ color: oklch(74.5% 0.127 111.7);
Tailwind
colors: {
  custom: {
    50: '#c9ca83',
    500: '#afb44d',
    950: '#000000',
  },
}
SCSS
$custom: #afb44d;
$custom-light: #c9ca83;
$custom-dark: #000000;
JSON
{
  "hex": "#afb44d",
  "rgb": {
    "r": 175,
    "g": 180,
    "b": 77
  },
  "hsl": {
    "h": 62.913,
    "s": 40.711,
    "l": 50.392
  },
  "oklch": {
    "l": 0.74517,
    "c": 0.12661,
    "h": 111.7
  },
  "luminance": 0.42292
}

Semantic roles & 50–950 ramp

primary
#AFB44D
secondary
#9A97C5
accent
#57D15D
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFB44D

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

Preview Lab → · Contrast checker → · Palette generator →

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