#E7BF5F#E7BF5F

#E7BF5F is a very light, vivid orange. Relative luminance 0.551; OKLCH L 82.1% C 0.123 H 86.8°. Best body text is #000000 at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#E7BF5F
RGBrgb(231, 191, 95)
HSLhsl(42, 74%, 64%)
HSVhsv(42, 59%, 91%)
CMYKcmyk(0%, 17.3%, 58.9%, 9.4%)
CIE-LABlab(79.09, 3.37, 52.91)
CIE-LCHlch(79.09, 53.02, 86.36°)
OKLaboklab(82.1% 0.0068 0.1231)
OKLCHoklch(82.1% 0.123 86.8)
XYZxyz(53.6539, 55.0798, 18.6297)
Luminance0.5508 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7BF5F #5F87E7
analogous
#E77B5F #E7BF5F #CBE75F
triadic
#E7BF5F #5FE7BF #BF5FE7
tetradic
#E7BF5F #5FE77B #5F87E7 #E75FCB
square
#E7BF5F #5FE77B #5F87E7 #E75FCB
split-complementary
#E7BF5F #5FCBE7 #7B5FE7
monochromatic
#B1851B #DFAA2A #E7BF5F #EFD494 #F7EAC9

Accessibility & contrast

On white

1.75
#E7BF5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.02
#E7BF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7BF5F
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7BF5F#FFFFFF#000000##000000
##E7BF5F1.001.7512.0212.02
#FFFFFF1.751.0021.0021.00
#00000012.0221.001.001.00
##00000012.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BE56
Deuteranopia (green-blind)
#DCC863
Tritanopia (blue-blind)
#F8B1A9
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #e7bf5f;
/* rgb */ color: rgb(231, 191, 95);
/* oklch */ color: oklch(82.1% 0.123 86.8);
Tailwind
colors: {
  custom: {
    50: '#f2d28f',
    500: '#e7bf5f',
    950: '#000000',
  },
}
SCSS
$custom: #e7bf5f;
$custom-light: #f2d28f;
$custom-dark: #000000;
JSON
{
  "hex": "#e7bf5f",
  "rgb": {
    "r": 231,
    "g": 191,
    "b": 95
  },
  "hsl": {
    "h": 42.353,
    "s": 73.913,
    "l": 63.922
  },
  "oklch": {
    "l": 0.82102,
    "c": 0.12325,
    "h": 86.8
  },
  "luminance": 0.55077
}

Semantic roles & 50–950 ramp

primary
#E7BF5F
secondary
#395CB2
accent
#4AD60F
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #E7BF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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