#AFB344#AFB344

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

Color values

HEX#AFB344
RGBrgb(175, 179, 68)
HSLhsl(62, 45%, 48%)
HSVhsv(62, 62%, 70%)
CMYKcmyk(2.2%, 0%, 62%, 29.8%)
CIE-LABlab(70.71, -15.92, 54.44)
CIE-LCHlch(70.71, 56.72, 106.30°)
OKLaboklab(74.2% -0.0481 0.1241)
OKLCHoklch(74.2% 0.133 111.2)
XYZxyz(34.8437, 41.7723, 11.6951)
Luminance0.4177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB344 #4844B3
analogous
#B37F44 #AFB344 #77B344
triadic
#AFB344 #44AFB3 #B344AF
tetradic
#AFB344 #44B37F #4844B3 #B34477
square
#AFB344 #44B37F #4844B3 #B34477
split-complementary
#AFB344 #4477B3 #7F44B3
monochromatic
#585A22 #848733 #AFB344 #C4C76D #D6D899

Accessibility & contrast

On white

2.24
#AFB344 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB344#FFFFFF#000000##000000
##AFB3441.002.249.359.35
#FFFFFF2.241.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #afb344;
/* rgb */ color: rgb(175, 179, 68);
/* oklch */ color: oklch(74.2% 0.133 111.2);
Tailwind
colors: {
  custom: {
    50: '#cac97d',
    500: '#afb344',
    950: '#000000',
  },
}
SCSS
$custom: #afb344;
$custom-light: #cac97d;
$custom-dark: #000000;
JSON
{
  "hex": "#afb344",
  "rgb": {
    "r": 175,
    "g": 179,
    "b": 68
  },
  "hsl": {
    "h": 62.162,
    "s": 44.939,
    "l": 48.431
  },
  "oklch": {
    "l": 0.74204,
    "c": 0.13313,
    "h": 111.2
  },
  "luminance": 0.41772
}

Semantic roles & 50–950 ramp

primary
#AFB344
secondary
#908EC4
accent
#53D558
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFB344

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

Preview Lab → · Contrast checker → · Palette generator →

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