#AFB14D#AFB14D

#AFB14D is a light, vivid yellow. Relative luminance 0.411; OKLCH L 73.9% C 0.123 H 110.1°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#AFB14D
RGBrgb(175, 177, 77)
HSLhsl(61, 39%, 50%)
HSVhsv(61, 56%, 69%)
CMYKcmyk(1.1%, 0%, 56.5%, 30.6%)
CIE-LABlab(70.24, -14.24, 49.91)
CIE-LCHlch(70.24, 51.90, 105.92°)
OKLaboklab(73.85% -0.0424 0.1157)
OKLCHoklch(73.85% 0.123 110.1)
XYZxyz(34.7418, 41.0949, 13.1217)
Luminance0.4109 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB14D #4F4DB1
analogous
#B1814D #AFB14D #7DB14D
triadic
#AFB14D #4DAFB1 #B14DAF
tetradic
#AFB14D #4DB181 #4F4DB1 #B14D7D
square
#AFB14D #4DB181 #4F4DB1 #B14D7D
split-complementary
#AFB14D #4D7DB1 #814DB1
monochromatic
#5B5C28 #85863A #AFB14D #C2C477 #D5D6A2

Accessibility & contrast

On white

2.28
#AFB14D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#AFB14D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB14D
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB14D#FFFFFF#000000##000000
##AFB14D1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA42
Deuteranopia (green-blind)
#BFAD53
Tritanopia (blue-blind)
#BAA79B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afb14d;
/* rgb */ color: rgb(175, 177, 77);
/* oklch */ color: oklch(73.9% 0.123 110.1);
Tailwind
colors: {
  custom: {
    50: '#c9c882',
    500: '#afb14d',
    950: '#000000',
  },
}
SCSS
$custom: #afb14d;
$custom-light: #c9c882;
$custom-dark: #000000;
JSON
{
  "hex": "#afb14d",
  "rgb": {
    "r": 175,
    "g": 177,
    "b": 77
  },
  "hsl": {
    "h": 61.2,
    "s": 39.37,
    "l": 49.804
  },
  "oklch": {
    "l": 0.73854,
    "c": 0.12319,
    "h": 110.1
  },
  "luminance": 0.41094
}

Semantic roles & 50–950 ramp

primary
#AFB14D
secondary
#9796C4
accent
#59CF5B
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFB14D

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

Preview Lab → · Contrast checker → · Palette generator →

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