#AFBD2E#AFBD2E

#AFBD2E is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.3% C 0.159 H 115.2°. Best body text is #000000 at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#AFBD2E
RGBrgb(175, 189, 46)
HSLhsl(66, 61%, 46%)
HSVhsv(66, 76%, 74%)
CMYKcmyk(7.4%, 0%, 75.7%, 25.9%)
CIE-LABlab(73.36, -22.15, 65.38)
CIE-LCHlch(73.36, 69.03, 108.71°)
OKLaboklab(76.27% -0.0676 0.1436)
OKLCHoklch(76.27% 0.159 115.2)
XYZxyz(36.3710, 45.7070, 9.4906)
Luminance0.4571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFBD2E #3C2EBD
analogous
#BD832E #AFBD2E #67BD2E
triadic
#AFBD2E #2EAFBD #BD2EAF
tetradic
#AFBD2E #2EBD83 #3C2EBD #BD2E67
square
#AFBD2E #2EBD83 #3C2EBD #BD2E67
split-complementary
#AFBD2E #2E67BD #832EBD
monochromatic
#545B16 #818C22 #AFBD2E #C8D553 #D8E184

Accessibility & contrast

On white

2.07
#AFBD2E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.14
#AFBD2E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFBD2E
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFBD2E#FFFFFF#000000##000000
##AFBD2E1.002.0710.1410.14
#FFFFFF2.071.0021.0021.00
#00000010.1421.001.001.00
##00000010.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB309
Deuteranopia (green-blind)
#CAB53B
Tritanopia (blue-blind)
#BBB2A2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #afbd2e;
/* rgb */ color: rgb(175, 189, 46);
/* oklch */ color: oklch(76.3% 0.159 115.2);
Tailwind
colors: {
  custom: {
    50: '#cbd072',
    500: '#afbd2e',
    950: '#000000',
  },
}
SCSS
$custom: #afbd2e;
$custom-light: #cbd072;
$custom-dark: #000000;
JSON
{
  "hex": "#afbd2e",
  "rgb": {
    "r": 175,
    "g": 189,
    "b": 46
  },
  "hsl": {
    "h": 65.874,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.76272,
    "c": 0.15877,
    "h": 115.2
  },
  "luminance": 0.45706
}

Semantic roles & 50–950 ramp

primary
#AFBD2E
secondary
#847CCA
accent
#44E454
background
#FCFCF7
surface
#F9F9ED
border
#D2D2C8
text
#141409
muted
#82827B

Preview Lab

Preview with #AFBD2E

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

Preview Lab → · Contrast checker → · Palette generator →

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