#AFBC74#AFBC74

#AFBC74 is a light, moderate yellow-green. Relative luminance 0.463; OKLCH L 76.8% C 0.096 H 117.1°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#AFBC74
RGBrgb(175, 188, 116)
HSLhsl(71, 35%, 60%)
HSVhsv(71, 38%, 74%)
CMYKcmyk(6.9%, 0%, 38.3%, 26.3%)
CIE-LABlab(73.77, -15.97, 34.94)
CIE-LCHlch(73.77, 38.42, 114.56°)
OKLaboklab(76.82% -0.0438 0.0856)
OKLCHoklch(76.82% 0.096 117.1)
XYZxyz(38.8149, 46.3416, 23.4196)
Luminance0.4634 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBC74 #8174BC
analogous
#BCA574 #AFBC74 #8BBC74
triadic
#AFBC74 #74AFBC #BC74AF
tetradic
#AFBC74 #74BCA5 #8174BC #BC748B
square
#AFBC74 #74BCA5 #8174BC #BC748B
split-complementary
#AFBC74 #748BBC #A574BC
monochromatic
#6F7B3B #95A44F #AFBC74 #C7D09D #DFE4C7

Accessibility & contrast

On white

2.05
#AFBC74 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.27
#AFBC74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBC74
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBC74#FFFFFF#000000##000000
##AFBC741.002.0510.2710.27
#FFFFFF2.051.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B56F
Deuteranopia (green-blind)
#C4B677
Tritanopia (blue-blind)
#B6B5AA
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbc74;
/* rgb */ color: rgb(175, 188, 116);
/* oklch */ color: oklch(76.8% 0.096 117.1);
Tailwind
colors: {
  custom: {
    50: '#c8d09d',
    500: '#afbc74',
    950: '#000000',
  },
}
SCSS
$custom: #afbc74;
$custom-light: #c8d09d;
$custom-dark: #000000;
JSON
{
  "hex": "#afbc74",
  "rgb": {
    "r": 175,
    "g": 188,
    "b": 116
  },
  "hsl": {
    "h": 70.833,
    "s": 34.951,
    "l": 59.608
  },
  "oklch": {
    "l": 0.76824,
    "c": 0.09617,
    "h": 117.1
  },
  "luminance": 0.46341
}

Semantic roles & 50–950 ramp

primary
#AFBC74
secondary
#BDB8D4
accent
#5DCB71
background
#FCFCF9
surface
#F8F9F2
border
#D1D2CC
text
#13140E
muted
#82827E

Preview Lab

Preview with #AFBC74

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

Preview Lab → · Contrast checker → · Palette generator →

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