#AFA739#AFA739

#AFA739 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.5% C 0.129 H 105.2°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#AFA739
RGBrgb(175, 167, 57)
HSLhsl(56, 51%, 45%)
HSVhsv(56, 67%, 69%)
CMYKcmyk(0%, 4.6%, 67.4%, 31.4%)
CIE-LABlab(67.31, -10.41, 55.49)
CIE-LCHlch(67.31, 56.46, 100.63°)
OKLaboklab(71.46% -0.0338 0.1247)
OKLCHoklch(71.46% 0.129 105.2)
XYZxyz(32.2377, 37.0480, 9.3229)
Luminance0.3705 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFA739 #3941AF
analogous
#AF6C39 #AFA739 #7CAF39
triadic
#AFA739 #39AFA7 #A739AF
tetradic
#AFA739 #39AF6C #3941AF #AF397C
square
#AFA739 #39AF6C #3941AF #AF397C
split-complementary
#AFA739 #397CAF #6C39AF
monochromatic
#534F1B #817B2A #AFA739 #CAC25B #D9D38A

Accessibility & contrast

On white

2.50
#AFA739 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#AFA739 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFA739
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFA739#FFFFFF#000000##000000
##AFA7391.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A12A
Deuteranopia (green-blind)
#B8A640
Tritanopia (blue-blind)
#BC9C91
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #afa739;
/* rgb */ color: rgb(175, 167, 57);
/* oklch */ color: oklch(71.5% 0.129 105.2);
Tailwind
colors: {
  custom: {
    50: '#cac076',
    500: '#afa739',
    950: '#000000',
  },
}
SCSS
$custom: #afa739;
$custom-light: #cac076;
$custom-dark: #000000;
JSON
{
  "hex": "#afa739",
  "rgb": {
    "r": 175,
    "g": 167,
    "b": 57
  },
  "hsl": {
    "h": 55.932,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.71464,
    "c": 0.12915,
    "h": 105.2
  },
  "luminance": 0.37047
}

Semantic roles & 50–950 ramp

primary
#AFA739
secondary
#8185C3
accent
#57DA4D
background
#FCFBF7
surface
#F9F7ED
border
#D2D0C8
text
#141209
muted
#82817B

Preview Lab

Preview with #AFA739

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

Preview Lab → · Contrast checker → · Palette generator →

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