#CFA54F#CFA54F

#CFA54F is a light, moderate orange. Relative luminance 0.407; OKLCH L 74.4% C 0.115 H 83.2°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#CFA54F
RGBrgb(207, 165, 79)
HSLhsl(40, 57%, 56%)
HSVhsv(40, 62%, 81%)
CMYKcmyk(0%, 20.3%, 61.8%, 18.8%)
CIE-LABlab(70.00, 5.89, 49.48)
CIE-LCHlch(70.00, 49.83, 83.21°)
OKLaboklab(74.35% 0.0137 0.1143)
OKLCHoklch(74.35% 0.115 83.2)
XYZxyz(40.6007, 40.7427, 13.1213)
Luminance0.4074 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA54F #4F79CF
analogous
#CF654F #CFA54F #B9CF4F
triadic
#CFA54F #4FCFA5 #A54FCF
tetradic
#CFA54F #4FCF65 #4F79CF #CF4FB9
square
#CFA54F #4FCF65 #4F79CF #CF4FB9
split-complementary
#CFA54F #4FB9CF #654FCF
monochromatic
#816223 #B18630 #CFA54F #DCBE7F #E9D6AF

Accessibility & contrast

On white

2.30
#CFA54F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.15
#CFA54F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA54F
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA54F#FFFFFF#000000##000000
##CFA54F1.002.309.159.15
#FFFFFF2.301.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A546
Deuteranopia (green-blind)
#C1B052
Tritanopia (blue-blind)
#DF9892
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cfa54f;
/* rgb */ color: rgb(207, 165, 79);
/* oklch */ color: oklch(74.4% 0.115 83.2);
Tailwind
colors: {
  custom: {
    50: '#e1bf83',
    500: '#cfa54f',
    950: '#000000',
  },
}
SCSS
$custom: #cfa54f;
$custom-light: #e1bf83;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa54f",
  "rgb": {
    "r": 207,
    "g": 165,
    "b": 79
  },
  "hsl": {
    "h": 40.313,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.74354,
    "c": 0.1151,
    "h": 83.2
  },
  "luminance": 0.4074
}

Semantic roles & 50–950 ramp

primary
#CFA54F
secondary
#A2B4D7
accent
#7AE047
background
#FEFBF8
surface
#FCF7EF
border
#D5D0CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CFA54F

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

Preview Lab → · Contrast checker → · Palette generator →

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