#AFB44B#AFB44B

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

Color values

HEX#AFB44B
RGBrgb(175, 180, 75)
HSLhsl(63, 41%, 50%)
HSVhsv(63, 58%, 71%)
CMYKcmyk(2.8%, 0%, 58.3%, 29.4%)
CIE-LABlab(71.05, -15.92, 51.72)
CIE-LCHlch(71.05, 54.12, 107.11°)
OKLaboklab(74.5% -0.0474 0.1193)
OKLCHoklch(74.5% 0.128 111.7)
XYZxyz(35.2713, 42.2652, 12.9552)
Luminance0.4226 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB44B #504BB4
analogous
#B4844B #AFB44B #7BB44B
triadic
#AFB44B #4BAFB4 #B44BAF
tetradic
#AFB44B #4BB484 #504BB4 #B44B7B
square
#AFB44B #4BB484 #504BB4 #B44B7B
split-complementary
#AFB44B #4B7BB4 #844BB4
monochromatic
#5B5E27 #858939 #AFB44B #C2C676 #D5D8A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB44B#FFFFFF#000000##000000
##AFB44B1.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)
#C1AC3F
Deuteranopia (green-blind)
#C1AF51
Tritanopia (blue-blind)
#BAAA9D
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #afb44b;
/* rgb */ color: rgb(175, 180, 75);
/* oklch */ color: oklch(74.5% 0.128 111.7);
Tailwind
colors: {
  custom: {
    50: '#c9ca81',
    500: '#afb44b',
    950: '#000000',
  },
}
SCSS
$custom: #afb44b;
$custom-light: #c9ca81;
$custom-dark: #000000;
JSON
{
  "hex": "#afb44b",
  "rgb": {
    "r": 175,
    "g": 180,
    "b": 75
  },
  "hsl": {
    "h": 62.857,
    "s": 41.176,
    "l": 50
  },
  "oklch": {
    "l": 0.74495,
    "c": 0.12838,
    "h": 111.7
  },
  "luminance": 0.42264
}

Semantic roles & 50–950 ramp

primary
#AFB44B
secondary
#9896C5
accent
#57D15D
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFB44B

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

Preview Lab → · Contrast checker → · Palette generator →

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