#AFBB3E#AFBB3E

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

Color values

HEX#AFBB3E
RGBrgb(175, 187, 62)
HSLhsl(66, 50%, 49%)
HSVhsv(66, 67%, 73%)
CMYKcmyk(6.4%, 0%, 66.8%, 26.7%)
CIE-LABlab(72.89, -20.33, 59.20)
CIE-LCHlch(72.89, 62.59, 108.96°)
OKLaboklab(75.93% -0.0611 0.1333)
OKLCHoklch(75.93% 0.147 114.6)
XYZxyz(36.3200, 45.0030, 11.3297)
Luminance0.4500 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBB3E #4A3EBB
analogous
#BB893E #AFBB3E #71BB3E
triadic
#AFBB3E #3EAFBB #BB3EAF
tetradic
#AFBB3E #3EBB89 #4A3EBB #BB3E71
square
#AFBB3E #3EBB89 #4A3EBB #BB3E71
split-complementary
#AFBB3E #3E71BB #893EBB
monochromatic
#595F20 #848D2F #AFBB3E #C4CD69 #D6DC97

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBB3E#FFFFFF#000000##000000
##AFBB3E1.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)
#C8B22C
Deuteranopia (green-blind)
#C7B447
Tritanopia (blue-blind)
#BAB0A2
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #afbb3e;
/* rgb */ color: rgb(175, 187, 62);
/* oklch */ color: oklch(75.9% 0.147 114.6);
Tailwind
colors: {
  custom: {
    50: '#cacf7a',
    500: '#afbb3e',
    950: '#000000',
  },
}
SCSS
$custom: #afbb3e;
$custom-light: #cacf7a;
$custom-dark: #000000;
JSON
{
  "hex": "#afbb3e",
  "rgb": {
    "r": 175,
    "g": 187,
    "b": 62
  },
  "hsl": {
    "h": 65.76,
    "s": 50.201,
    "l": 48.824
  },
  "oklch": {
    "l": 0.75934,
    "c": 0.14662,
    "h": 114.6
  },
  "luminance": 0.45002
}

Semantic roles & 50–950 ramp

primary
#AFBB3E
secondary
#928DC8
accent
#4EDA5B
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFBB3E

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

Preview Lab → · Contrast checker → · Palette generator →

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