#AFB43F#AFB43F

#AFB43F is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.4% C 0.138 H 111.7°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#AFB43F
RGBrgb(175, 180, 63)
HSLhsl(63, 48%, 48%)
HSVhsv(63, 65%, 71%)
CMYKcmyk(2.8%, 0%, 65%, 29.4%)
CIE-LABlab(70.95, -16.75, 56.79)
CIE-LCHlch(70.95, 59.21, 106.44°)
OKLaboklab(74.38% -0.051 0.1284)
OKLCHoklch(74.38% 0.138 111.7)
XYZxyz(34.8987, 42.1162, 10.9925)
Luminance0.4212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB43F #443FB4
analogous
#B47E3F #AFB43F #75B43F
triadic
#AFB43F #3FAFB4 #B43FAF
tetradic
#AFB43F #3FB47E #443FB4 #B43F75
square
#AFB43F #3FB47E #443FB4 #B43F75
split-complementary
#AFB43F #3F75B4 #7E3FB4
monochromatic
#57591F #83872F #AFB43F #C5CA67 #D7DA94

Accessibility & contrast

On white

2.23
#AFB43F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#AFB43F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB43F
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB43F#FFFFFF#000000##000000
##AFB43F1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AC2F
Deuteranopia (green-blind)
#C2AF47
Tritanopia (blue-blind)
#BBA99C
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #afb43f;
/* rgb */ color: rgb(175, 180, 63);
/* oklch */ color: oklch(74.4% 0.138 111.7);
Tailwind
colors: {
  custom: {
    50: '#caca7a',
    500: '#afb43f',
    950: '#000000',
  },
}
SCSS
$custom: #afb43f;
$custom-light: #caca7a;
$custom-dark: #000000;
JSON
{
  "hex": "#afb43f",
  "rgb": {
    "r": 175,
    "g": 180,
    "b": 63
  },
  "hsl": {
    "h": 62.564,
    "s": 48.148,
    "l": 47.647
  },
  "oklch": {
    "l": 0.74381,
    "c": 0.13812,
    "h": 111.7
  },
  "luminance": 0.42115
}

Semantic roles & 50–950 ramp

primary
#AFB43F
secondary
#8C8AC5
accent
#50D856
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFB43F

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

Preview Lab → · Contrast checker → · Palette generator →

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