#AFBB3F#AFBB3F

#AFBB3F is a light, vivid yellow. Relative luminance 0.450; OKLCH L 75.9% C 0.146 H 114.7°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#AFBB3F
RGBrgb(175, 187, 63)
HSLhsl(66, 50%, 49%)
HSVhsv(66, 66%, 73%)
CMYKcmyk(6.4%, 0%, 66.3%, 26.7%)
CIE-LABlab(72.90, -20.27, 58.81)
CIE-LCHlch(72.90, 62.20, 109.02°)
OKLaboklab(75.94% -0.0609 0.1326)
OKLCHoklch(75.94% 0.146 114.7)
XYZxyz(36.3476, 45.0141, 11.4755)
Luminance0.4501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB3F #4B3FBB
analogous
#BB893F #AFBB3F #71BB3F
triadic
#AFBB3F #3FAFBB #BB3FAF
tetradic
#AFBB3F #3FBB89 #4B3FBB #BB3F71
square
#AFBB3F #3FBB89 #4B3FBB #BB3F71
split-complementary
#AFBB3F #3F71BB #893FBB
monochromatic
#595F20 #848D30 #AFBB3F #C3CD6A #D6DC98

Accessibility & contrast

On white

2.10
#AFBB3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#AFBB3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBB3F
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBB3F#FFFFFF#000000##000000
##AFBB3F1.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B22D
Deuteranopia (green-blind)
#C7B448
Tritanopia (blue-blind)
#BAB0A2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afbb3f;
/* rgb */ color: rgb(175, 187, 63);
/* oklch */ color: oklch(75.9% 0.146 114.7);
Tailwind
colors: {
  custom: {
    50: '#cacf7b',
    500: '#afbb3f',
    950: '#000000',
  },
}
SCSS
$custom: #afbb3f;
$custom-light: #cacf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb3f",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 63
  },
  "hsl": {
    "h": 65.806,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.75942,
    "c": 0.14591,
    "h": 114.7
  },
  "luminance": 0.45013
}

Semantic roles & 50–950 ramp

primary
#AFBB3F
secondary
#938EC8
accent
#4FD95C
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFBB3F

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

Preview Lab → · Contrast checker → · Palette generator →

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