#DEAF40#DEAF40

#DEAF40 is a light, vivid orange. Relative luminance 0.466; OKLCH L 77.7% C 0.136 H 85.2°. Best body text is #000000 at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#DEAF40
RGBrgb(222, 175, 64)
HSLhsl(42, 71%, 56%)
HSVhsv(42, 71%, 87%)
CMYKcmyk(0%, 21.2%, 71.2%, 12.9%)
CIE-LABlab(73.91, 6.11, 60.77)
CIE-LCHlch(73.91, 61.07, 84.26°)
OKLaboklab(77.74% 0.0115 0.1354)
OKLCHoklch(77.74% 0.136 85.2)
XYZxyz(46.3824, 46.5629, 11.3941)
Luminance0.4656 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DEAF40 #406FDE
analogous
#DE6040 #DEAF40 #BEDE40
triadic
#DEAF40 #40DEAF #AF40DE
tetradic
#DEAF40 #40DE60 #406FDE #DE40BE
square
#DEAF40 #40DE60 #406FDE #DE40BE
split-complementary
#DEAF40 #40BEDE #6040DE
monochromatic
#8B6918 #C09121 #DEAF40 #E7C574 #F0DBA8

Accessibility & contrast

On white

2.04
#DEAF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.31
#DEAF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DEAF40
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DEAF40#FFFFFF#000000##000000
##DEAF401.002.0410.3110.31
#FFFFFF2.041.0021.0021.00
#00000010.3121.001.001.00
##00000010.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE31
Deuteranopia (green-blind)
#CFBB45
Tritanopia (blue-blind)
#F0A098
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #deaf40;
/* rgb */ color: rgb(222, 175, 64);
/* oklch */ color: oklch(77.7% 0.136 85.2);
Tailwind
colors: {
  custom: {
    50: '#edc67b',
    500: '#deaf40',
    950: '#000000',
  },
}
SCSS
$custom: #deaf40;
$custom-light: #edc67b;
$custom-dark: #000000;
JSON
{
  "hex": "#deaf40",
  "rgb": {
    "r": 222,
    "g": 175,
    "b": 64
  },
  "hsl": {
    "h": 42.152,
    "s": 70.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.77736,
    "c": 0.1359,
    "h": 85.2
  },
  "luminance": 0.4656
}

Semantic roles & 50–950 ramp

primary
#DEAF40
secondary
#9CB0DE
accent
#70ED3A
background
#FFFCF7
surface
#FEF8EE
border
#D6D1C9
text
#17130A
muted
#85827C

Preview Lab

Preview with #DEAF40

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

Preview Lab → · Contrast checker → · Palette generator →

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