#AFBF3E#AFBF3E

#AFBF3E is a light, vivid yellow. Relative luminance 0.467; OKLCH L 76.8% C 0.151 H 116.2°. Best body text is #000000 at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#AFBF3E
RGBrgb(175, 191, 62)
HSLhsl(67, 51%, 50%)
HSVhsv(67, 68%, 75%)
CMYKcmyk(8.4%, 0%, 67.5%, 25.1%)
CIE-LABlab(74.01, -22.31, 60.34)
CIE-LCHlch(74.01, 64.33, 110.29°)
OKLaboklab(76.83% -0.0666 0.1357)
OKLCHoklch(76.83% 0.151 116.2)
XYZxyz(37.1804, 46.7239, 11.6165)
Luminance0.4672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF3E #4E3EBF
analogous
#BF8F3E #AFBF3E #6FBF3E
triadic
#AFBF3E #3EAFBF #BF3EAF
tetradic
#AFBF3E #3EBF8F #4E3EBF #BF3E6F
square
#AFBF3E #3EBF8F #4E3EBF #BF3E6F
split-complementary
#AFBF3E #3E6FBF #8F3EBF
monochromatic
#5A6320 #85912F #AFBF3E #C3CF6B #D6DE99

Accessibility & contrast

On white

2.03
#AFBF3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.34
#AFBF3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBF3E
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBF3E#FFFFFF#000000##000000
##AFBF3E1.002.0310.3410.34
#FFFFFF2.031.0021.0021.00
#00000010.3421.001.001.00
##00000010.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB52B
Deuteranopia (green-blind)
#CBB748
Tritanopia (blue-blind)
#BAB4A5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afbf3e;
/* rgb */ color: rgb(175, 191, 62);
/* oklch */ color: oklch(76.8% 0.151 116.2);
Tailwind
colors: {
  custom: {
    50: '#cad27b',
    500: '#afbf3e',
    950: '#000000',
  },
}
SCSS
$custom: #afbf3e;
$custom-light: #cad27b;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf3e",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 62
  },
  "hsl": {
    "h": 67.442,
    "s": 50.988,
    "l": 49.608
  },
  "oklch": {
    "l": 0.76831,
    "c": 0.15117,
    "h": 116.2
  },
  "luminance": 0.46723
}

Semantic roles & 50–950 ramp

primary
#AFBF3E
secondary
#968FCA
accent
#4DDA5F
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #AFBF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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