#AFBF3D#AFBF3D

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

Color values

HEX#AFBF3D
RGBrgb(175, 191, 61)
HSLhsl(67, 52%, 49%)
HSVhsv(67, 68%, 75%)
CMYKcmyk(8.4%, 0%, 68.1%, 25.1%)
CIE-LABlab(74.01, -22.37, 60.72)
CIE-LCHlch(74.01, 64.71, 110.23°)
OKLaboklab(76.82% -0.0669 0.1363)
OKLCHoklch(76.82% 0.152 116.1)
XYZxyz(37.1532, 46.7130, 11.4733)
Luminance0.4671 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBF3D #4D3DBF
analogous
#BF8E3D #AFBF3D #6EBF3D
triadic
#AFBF3D #3DAFBF #BF3DAF
tetradic
#AFBF3D #3DBF8E #4D3DBF #BF3D6E
square
#AFBF3D #3DBF8E #4D3DBF #BF3D6E
split-complementary
#AFBF3D #3D6EBF #8E3DBF
monochromatic
#5A621F #84912E #AFBF3D #C3CF6A #D6DE98

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFBF3D#FFFFFF#000000##000000
##AFBF3D1.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)
#CCB529
Deuteranopia (green-blind)
#CBB747
Tritanopia (blue-blind)
#BAB4A5
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #afbf3d;
/* rgb */ color: rgb(175, 191, 61);
/* oklch */ color: oklch(76.8% 0.152 116.1);
Tailwind
colors: {
  custom: {
    50: '#cad27a',
    500: '#afbf3d',
    950: '#000000',
  },
}
SCSS
$custom: #afbf3d;
$custom-light: #cad27a;
$custom-dark: #000000;
JSON
{
  "hex": "#afbf3d",
  "rgb": {
    "r": 175,
    "g": 191,
    "b": 61
  },
  "hsl": {
    "h": 67.385,
    "s": 51.587,
    "l": 49.412
  },
  "oklch": {
    "l": 0.76823,
    "c": 0.15186,
    "h": 116.1
  },
  "luminance": 0.46712
}

Semantic roles & 50–950 ramp

primary
#AFBF3D
secondary
#958ECA
accent
#4DDB5E
background
#FCFCF7
surface
#F9F9EE
border
#D2D2C9
text
#14140A
muted
#82827C

Preview Lab

Preview with #AFBF3D

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

Preview Lab → · Contrast checker → · Palette generator →

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