#AFB343#AFB343

#AFB343 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.2% C 0.134 H 111.2°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#AFB343
RGBrgb(175, 179, 67)
HSLhsl(62, 46%, 48%)
HSVhsv(62, 63%, 70%)
CMYKcmyk(2.2%, 0%, 62.6%, 29.8%)
CIE-LABlab(70.71, -15.99, 54.86)
CIE-LCHlch(70.71, 57.14, 106.25°)
OKLaboklab(74.19% -0.0484 0.1249)
OKLCHoklch(74.19% 0.134 111.2)
XYZxyz(34.8134, 41.7602, 11.5357)
Luminance0.4176 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB343 #4743B3
analogous
#B37F43 #AFB343 #77B343
triadic
#AFB343 #43AFB3 #B343AF
tetradic
#AFB343 #43B37F #4743B3 #B34377
square
#AFB343 #43B37F #4743B3 #B34377
split-complementary
#AFB343 #4377B3 #7F43B3
monochromatic
#585A22 #838632 #AFB343 #C4C86B #D6D898

Accessibility & contrast

On white

2.25
#AFB343 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#AFB343 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB343
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB343#FFFFFF#000000##000000
##AFB3431.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB35
Deuteranopia (green-blind)
#C1AE4A
Tritanopia (blue-blind)
#BAA99C
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afb343;
/* rgb */ color: rgb(175, 179, 67);
/* oklch */ color: oklch(74.2% 0.134 111.2);
Tailwind
colors: {
  custom: {
    50: '#cac97c',
    500: '#afb343',
    950: '#000000',
  },
}
SCSS
$custom: #afb343;
$custom-light: #cac97c;
$custom-dark: #000000;
JSON
{
  "hex": "#afb343",
  "rgb": {
    "r": 175,
    "g": 179,
    "b": 67
  },
  "hsl": {
    "h": 62.143,
    "s": 45.528,
    "l": 48.235
  },
  "oklch": {
    "l": 0.74195,
    "c": 0.13393,
    "h": 111.2
  },
  "luminance": 0.41759
}

Semantic roles & 50–950 ramp

primary
#AFB343
secondary
#8F8DC4
accent
#53D557
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFB343

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

Preview Lab → · Contrast checker → · Palette generator →

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