#AFB243#AFB243

#AFB243 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.0% C 0.133 H 110.7°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#AFB243
RGBrgb(175, 178, 67)
HSLhsl(62, 45%, 48%)
HSVhsv(62, 62%, 70%)
CMYKcmyk(1.7%, 0%, 62.4%, 30.2%)
CIE-LABlab(70.43, -15.48, 54.56)
CIE-LCHlch(70.43, 56.71, 105.84°)
OKLaboklab(73.97% -0.047 0.1243)
OKLCHoklch(73.97% 0.133 110.7)
XYZxyz(34.6137, 41.3609, 11.4692)
Luminance0.4136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AFB243 #4643B2
analogous
#B27E43 #AFB243 #77B243
triadic
#AFB243 #43AFB2 #B243AF
tetradic
#AFB243 #43B27E #4643B2 #B24377
square
#AFB243 #43B27E #4643B2 #B24377
split-complementary
#AFB243 #4377B2 #7E43B2
monochromatic
#585922 #838632 #AFB243 #C5C76B #D6D897

Accessibility & contrast

On white

2.26
#AFB243 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.27
#AFB243 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #AFB243
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AFB243#FFFFFF#000000##000000
##AFB2431.002.269.279.27
#FFFFFF2.261.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB35
Deuteranopia (green-blind)
#C0AE4A
Tritanopia (blue-blind)
#BBA89B
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #afb243;
/* rgb */ color: rgb(175, 178, 67);
/* oklch */ color: oklch(74.0% 0.133 110.7);
Tailwind
colors: {
  custom: {
    50: '#cac87c',
    500: '#afb243',
    950: '#000000',
  },
}
SCSS
$custom: #afb243;
$custom-light: #cac87c;
$custom-dark: #000000;
JSON
{
  "hex": "#afb243",
  "rgb": {
    "r": 175,
    "g": 178,
    "b": 67
  },
  "hsl": {
    "h": 61.622,
    "s": 45.306,
    "l": 48.039
  },
  "oklch": {
    "l": 0.73973,
    "c": 0.13284,
    "h": 110.7
  },
  "luminance": 0.4136
}

Semantic roles & 50–950 ramp

primary
#AFB243
secondary
#8E8DC4
accent
#53D556
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #AFB243

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

Preview Lab → · Contrast checker → · Palette generator →

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