#AFB744#AFB744

#AFB744 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.1% C 0.138 H 113.0°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#AFB744
RGBrgb(175, 183, 68)
HSLhsl(64, 46%, 49%)
HSVhsv(64, 63%, 72%)
CMYKcmyk(4.4%, 0%, 62.8%, 28.2%)
CIE-LABlab(71.82, -17.94, 55.62)
CIE-LCHlch(71.82, 58.45, 107.88°)
OKLaboklab(75.09% -0.0538 0.1266)
OKLCHoklch(75.09% 0.138 113)
XYZxyz(35.6570, 43.3990, 11.9662)
Luminance0.4340 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB744 #4C44B7
analogous
#B78644 #AFB744 #76B744
triadic
#AFB744 #44AFB7 #B744AF
tetradic
#AFB744 #44B786 #4C44B7 #B74476
square
#AFB744 #44B786 #4C44B7 #B74476
split-complementary
#AFB744 #4476B7 #8644B7
monochromatic
#5A5E23 #848A33 #AFB744 #C3C96F #D6DA9B

Accessibility & contrast

On white

2.17
#AFB744 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#AFB744 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB744
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB744#FFFFFF#000000##000000
##AFB7441.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AF36
Deuteranopia (green-blind)
#C4B14B
Tritanopia (blue-blind)
#BAAD9F
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #afb744;
/* rgb */ color: rgb(175, 183, 68);
/* oklch */ color: oklch(75.1% 0.138 113.0);
Tailwind
colors: {
  custom: {
    50: '#cacc7d',
    500: '#afb744',
    950: '#000000',
  },
}
SCSS
$custom: #afb744;
$custom-light: #cacc7d;
$custom-dark: #000000;
JSON
{
  "hex": "#afb744",
  "rgb": {
    "r": 175,
    "g": 183,
    "b": 68
  },
  "hsl": {
    "h": 64.174,
    "s": 45.817,
    "l": 49.216
  },
  "oklch": {
    "l": 0.75092,
    "c": 0.13761,
    "h": 113
  },
  "luminance": 0.43398
}

Semantic roles & 50–950 ramp

primary
#AFB744
secondary
#9491C6
accent
#52D55B
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFB744

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

Preview Lab → · Contrast checker → · Palette generator →

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