#AFB44A#AFB44A

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

Color values

HEX#AFB44A
RGBrgb(175, 180, 74)
HSLhsl(63, 42%, 50%)
HSVhsv(63, 59%, 71%)
CMYKcmyk(2.8%, 0%, 58.9%, 29.4%)
CIE-LABlab(71.04, -16.00, 52.16)
CIE-LCHlch(71.04, 54.56, 107.05°)
OKLaboklab(74.49% -0.0477 0.1201)
OKLCHoklch(74.49% 0.129 111.7)
XYZxyz(35.2374, 42.2517, 12.7764)
Luminance0.4225 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB44A #4F4AB4
analogous
#B4844A #AFB44A #7AB44A
triadic
#AFB44A #4AAFB4 #B44AAF
tetradic
#AFB44A #4AB484 #4F4AB4 #B44A7A
square
#AFB44A #4AB484 #4F4AB4 #B44A7A
split-complementary
#AFB44A #4A7AB4 #844AB4
monochromatic
#5B5D26 #858938 #AFB44A #C2C675 #D5D8A0

Accessibility & contrast

On white

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

On black

9.45
#AFB44A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB44A
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB44A#FFFFFF#000000##000000
##AFB44A1.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC3E
Deuteranopia (green-blind)
#C1AF50
Tritanopia (blue-blind)
#BAAA9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #afb44a;
/* rgb */ color: rgb(175, 180, 74);
/* oklch */ color: oklch(74.5% 0.129 111.7);
Tailwind
colors: {
  custom: {
    50: '#c9ca81',
    500: '#afb44a',
    950: '#000000',
  },
}
SCSS
$custom: #afb44a;
$custom-light: #c9ca81;
$custom-dark: #000000;
JSON
{
  "hex": "#afb44a",
  "rgb": {
    "r": 175,
    "g": 180,
    "b": 74
  },
  "hsl": {
    "h": 62.83,
    "s": 41.732,
    "l": 49.804
  },
  "oklch": {
    "l": 0.74485,
    "c": 0.12925,
    "h": 111.7
  },
  "luminance": 0.42251
}

Semantic roles & 50–950 ramp

primary
#AFB44A
secondary
#9795C5
accent
#56D25C
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFB44A

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

Preview Lab → · Contrast checker → · Palette generator →

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