#AFB34E#AFB34E

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

Color values

HEX#AFB34E
RGBrgb(175, 179, 78)
HSLhsl(62, 40%, 50%)
HSVhsv(62, 56%, 70%)
CMYKcmyk(2.2%, 0%, 56.4%, 29.8%)
CIE-LABlab(70.81, -15.18, 50.08)
CIE-LCHlch(70.81, 52.33, 106.86°)
OKLaboklab(74.31% -0.045 0.1162)
OKLCHoklch(74.31% 0.125 111.2)
XYZxyz(35.1753, 41.9050, 13.4418)
Luminance0.4190 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB34E #524EB3
analogous
#B3844E #AFB34E #7CB34E
triadic
#AFB34E #4EAFB3 #B34EAF
tetradic
#AFB34E #4EB384 #524EB3 #B34E7C
square
#AFB34E #4EB384 #524EB3 #B34E7C
split-complementary
#AFB34E #4E7CB3 #844EB3
monochromatic
#5C5E28 #86893B #AFB34E #C2C579 #D6D8A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AFB34E#FFFFFF#000000##000000
##AFB34E1.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)
#C0AC43
Deuteranopia (green-blind)
#C0AF54
Tritanopia (blue-blind)
#BAA99D
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #afb34e;
/* rgb */ color: rgb(175, 179, 78);
/* oklch */ color: oklch(74.3% 0.125 111.2);
Tailwind
colors: {
  custom: {
    50: '#c9c983',
    500: '#afb34e',
    950: '#000000',
  },
}
SCSS
$custom: #afb34e;
$custom-light: #c9c983;
$custom-dark: #000000;
JSON
{
  "hex": "#afb34e",
  "rgb": {
    "r": 175,
    "g": 179,
    "b": 78
  },
  "hsl": {
    "h": 62.376,
    "s": 39.921,
    "l": 50.392
  },
  "oklch": {
    "l": 0.74307,
    "c": 0.12457,
    "h": 111.2
  },
  "luminance": 0.41904
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AFB34E

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

Preview Lab → · Contrast checker → · Palette generator →

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