#AFB44F#AFB44F

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

Color values

HEX#AFB44F
RGBrgb(175, 180, 79)
HSLhsl(63, 40%, 51%)
HSVhsv(63, 56%, 71%)
CMYKcmyk(2.8%, 0%, 56.1%, 29.4%)
CIE-LABlab(71.09, -15.61, 49.94)
CIE-LCHlch(71.09, 52.33, 107.36°)
OKLaboklab(74.54% -0.0461 0.116)
OKLCHoklch(74.54% 0.125 111.7)
XYZxyz(35.4126, 42.3217, 13.6991)
Luminance0.4232 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB44F #544FB4
analogous
#B4864F #AFB44F #7CB44F
triadic
#AFB44F #4FAFB4 #B44FAF
tetradic
#AFB44F #4FB486 #544FB4 #B44F7C
square
#AFB44F #4FB486 #544FB4 #B44F7C
split-complementary
#AFB44F #4F7CB4 #864FB4
monochromatic
#5D6029 #878B3B #AFB44F #C3C67A #D6D9A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB44F#FFFFFF#000000##000000
##AFB44F1.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)
#C0AD44
Deuteranopia (green-blind)
#C1AF55
Tritanopia (blue-blind)
#BAAA9E
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #afb44f;
/* rgb */ color: rgb(175, 180, 79);
/* oklch */ color: oklch(74.5% 0.125 111.7);
Tailwind
colors: {
  custom: {
    50: '#c9ca84',
    500: '#afb44f',
    950: '#000000',
  },
}
SCSS
$custom: #afb44f;
$custom-light: #c9ca84;
$custom-dark: #000000;
JSON
{
  "hex": "#afb44f",
  "rgb": {
    "r": 175,
    "g": 180,
    "b": 79
  },
  "hsl": {
    "h": 62.97,
    "s": 40.239,
    "l": 50.784
  },
  "oklch": {
    "l": 0.74539,
    "c": 0.12481,
    "h": 111.7
  },
  "luminance": 0.42321
}

Semantic roles & 50–950 ramp

primary
#AFB44F
secondary
#9B99C6
accent
#58D05E
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFB44F

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

Preview Lab → · Contrast checker → · Palette generator →

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