#AFB34F#AFB34F

#AFB34F is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.3% C 0.124 H 111.2°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#AFB34F
RGBrgb(175, 179, 79)
HSLhsl(62, 40%, 51%)
HSVhsv(62, 56%, 70%)
CMYKcmyk(2.2%, 0%, 55.9%, 29.8%)
CIE-LABlab(70.82, -15.10, 49.63)
CIE-LCHlch(70.82, 51.88, 106.92°)
OKLaboklab(74.32% -0.0446 0.1153)
OKLCHoklch(74.32% 0.124 111.2)
XYZxyz(35.2114, 41.9194, 13.6320)
Luminance0.4192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB34F #534FB3
analogous
#B3854F #AFB34F #7DB34F
triadic
#AFB34F #4FAFB3 #B34FAF
tetradic
#AFB34F #4FB385 #534FB3 #B34F7D
square
#AFB34F #4FB385 #534FB3 #B34F7D
split-complementary
#AFB34F #4F7DB3 #854FB3
monochromatic
#5D5F29 #86893B #AFB34F #C2C57A #D6D8A4

Accessibility & contrast

On white

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

On black

9.38
#AFB34F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB34F
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB34F#FFFFFF#000000##000000
##AFB34F1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAC45
Deuteranopia (green-blind)
#C0AF55
Tritanopia (blue-blind)
#BAA99D
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afb34f;
/* rgb */ color: rgb(175, 179, 79);
/* oklch */ color: oklch(74.3% 0.124 111.2);
Tailwind
colors: {
  custom: {
    50: '#c9c984',
    500: '#afb34f',
    950: '#000000',
  },
}
SCSS
$custom: #afb34f;
$custom-light: #c9c984;
$custom-dark: #000000;
JSON
{
  "hex": "#afb34f",
  "rgb": {
    "r": 175,
    "g": 179,
    "b": 79
  },
  "hsl": {
    "h": 62.4,
    "s": 39.683,
    "l": 50.588
  },
  "oklch": {
    "l": 0.74318,
    "c": 0.12365,
    "h": 111.2
  },
  "luminance": 0.41919
}

Semantic roles & 50–950 ramp

primary
#AFB34F
secondary
#9A99C5
accent
#58D05D
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13130B
muted
#82827C

Preview Lab

Preview with #AFB34F

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

Preview Lab → · Contrast checker → · Palette generator →

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