#AFBE3E#AFBE3E

#AFBE3E is a light, vivid yellow. Relative luminance 0.463; OKLCH L 76.6% C 0.150 H 115.8°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#AFBE3E
RGBrgb(175, 190, 62)
HSLhsl(67, 51%, 49%)
HSVhsv(67, 67%, 75%)
CMYKcmyk(7.9%, 0%, 67.4%, 25.5%)
CIE-LABlab(73.73, -21.82, 60.05)
CIE-LCHlch(73.73, 63.89, 109.97°)
OKLaboklab(76.61% -0.0653 0.1351)
OKLCHoklch(76.61% 0.15 115.8)
XYZxyz(36.9630, 46.2892, 11.5440)
Luminance0.4629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBE3E #4D3EBE
analogous
#BE8D3E #AFBE3E #6FBE3E
triadic
#AFBE3E #3EAFBE #BE3EAF
tetradic
#AFBE3E #3EBE8D #4D3EBE #BE3E6F
square
#AFBE3E #3EBE8D #4D3EBE #BE3E6F
split-complementary
#AFBE3E #3E6FBE #8D3EBE
monochromatic
#5A6220 #85902F #AFBE3E #C3CF6B #D6DE99

Accessibility & contrast

On white

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

On black

10.26
#AFBE3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBE3E
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBE3E#FFFFFF#000000##000000
##AFBE3E1.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB42B
Deuteranopia (green-blind)
#CAB647
Tritanopia (blue-blind)
#BAB3A4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #afbe3e;
/* rgb */ color: rgb(175, 190, 62);
/* oklch */ color: oklch(76.6% 0.150 115.8);
Tailwind
colors: {
  custom: {
    50: '#cad17a',
    500: '#afbe3e',
    950: '#000000',
  },
}
SCSS
$custom: #afbe3e;
$custom-light: #cad17a;
$custom-dark: #000000;
JSON
{
  "hex": "#afbe3e",
  "rgb": {
    "r": 175,
    "g": 190,
    "b": 62
  },
  "hsl": {
    "h": 67.031,
    "s": 50.794,
    "l": 49.412
  },
  "oklch": {
    "l": 0.76606,
    "c": 0.15003,
    "h": 115.8
  },
  "luminance": 0.46289
}

Semantic roles & 50–950 ramp

primary
#AFBE3E
secondary
#958EC9
accent
#4EDA5E
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #AFBE3E

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

Preview Lab → · Contrast checker → · Palette generator →

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