#CFA731#CFA731

#CFA731 is a light, vivid orange. Relative luminance 0.411; OKLCH L 74.5% C 0.137 H 89.0°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#CFA731
RGBrgb(207, 167, 49)
HSLhsl(45, 62%, 50%)
HSVhsv(45, 76%, 81%)
CMYKcmyk(0%, 19.3%, 76.3%, 18.8%)
CIE-LABlab(70.26, 3.20, 62.49)
CIE-LCHlch(70.26, 62.57, 87.07°)
OKLaboklab(74.49% 0.0023 0.1368)
OKLCHoklch(74.49% 0.137 89)
XYZxyz(40.1076, 41.1272, 8.7310)
Luminance0.4113 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA731 #3159CF
analogous
#CF5831 #CFA731 #A8CF31
triadic
#CFA731 #31CFA7 #A731CF
tetradic
#CFA731 #31CF58 #3159CF #CF31A8
square
#CFA731 #31CF58 #3159CF #CF31A8
split-complementary
#CFA731 #31A8CF #5831CF
monochromatic
#6C5719 #9E7F25 #CFA731 #DBBC63 #E6D194

Accessibility & contrast

On white

2.28
#CFA731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#CFA731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA731
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA731#FFFFFF#000000##000000
##CFA7311.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA51C
Deuteranopia (green-blind)
#C4B038
Tritanopia (blue-blind)
#E09890
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cfa731;
/* rgb */ color: rgb(207, 167, 49);
/* oklch */ color: oklch(74.5% 0.137 89.0);
Tailwind
colors: {
  custom: {
    50: '#e2c072',
    500: '#cfa731',
    950: '#000000',
  },
}
SCSS
$custom: #cfa731;
$custom-light: #e2c072;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa731",
  "rgb": {
    "r": 207,
    "g": 167,
    "b": 49
  },
  "hsl": {
    "h": 44.81,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.74489,
    "c": 0.13678,
    "h": 89
  },
  "luminance": 0.41125
}

Semantic roles & 50–950 ramp

primary
#CFA731
secondary
#8B9CD1
accent
#6CE543
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161208
muted
#84817B

Preview Lab

Preview with #CFA731

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

Preview Lab → · Contrast checker → · Palette generator →

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