#AFB141#AFB141

#AFB141 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.7% C 0.133 H 110.2°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#AFB141
RGBrgb(175, 177, 65)
HSLhsl(61, 46%, 47%)
HSVhsv(61, 63%, 69%)
CMYKcmyk(1.1%, 0%, 63.3%, 30.6%)
CIE-LABlab(70.13, -15.10, 55.10)
CIE-LCHlch(70.13, 57.13, 105.32°)
OKLaboklab(73.73% -0.0461 0.1251)
OKLCHoklch(73.73% 0.133 110.2)
XYZxyz(34.3565, 40.9408, 11.0926)
Luminance0.4094 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB141 #4341B1
analogous
#B17B41 #AFB141 #77B141
triadic
#AFB141 #41AFB1 #B141AF
tetradic
#AFB141 #41B17B #4341B1 #B14177
square
#AFB141 #41B17B #4341B1 #B14177
split-complementary
#AFB141 #4177B1 #7B41B1
monochromatic
#565720 #838431 #AFB141 #C6C768 #D7D895

Accessibility & contrast

On white

2.29
#AFB141 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#AFB141 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB141
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB141#FFFFFF#000000##000000
##AFB1411.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA33
Deuteranopia (green-blind)
#BFAD48
Tritanopia (blue-blind)
#BBA69A
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #afb141;
/* rgb */ color: rgb(175, 177, 65);
/* oklch */ color: oklch(73.7% 0.133 110.2);
Tailwind
colors: {
  custom: {
    50: '#cac87b',
    500: '#afb141',
    950: '#000000',
  },
}
SCSS
$custom: #afb141;
$custom-light: #cac87b;
$custom-dark: #000000;
JSON
{
  "hex": "#afb141",
  "rgb": {
    "r": 175,
    "g": 177,
    "b": 65
  },
  "hsl": {
    "h": 61.071,
    "s": 46.281,
    "l": 47.451
  },
  "oklch": {
    "l": 0.73733,
    "c": 0.13332,
    "h": 110.2
  },
  "luminance": 0.4094
}

Semantic roles & 50–950 ramp

primary
#AFB141
secondary
#8B8AC3
accent
#52D654
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFB141

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

Preview Lab → · Contrast checker → · Palette generator →

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