#CFA257#CFA257

#CFA257 is a light, moderate orange. Relative luminance 0.398; OKLCH L 73.9% C 0.107 H 78.6°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#CFA257
RGBrgb(207, 162, 87)
HSLhsl(38, 56%, 58%)
HSVhsv(38, 58%, 81%)
CMYKcmyk(0%, 21.7%, 58%, 18.8%)
CIE-LABlab(69.32, 8.08, 44.81)
CIE-LCHlch(69.32, 45.54, 79.78°)
OKLaboklab(73.86% 0.0212 0.1052)
OKLCHoklch(73.86% 0.107 78.6)
XYZxyz(40.3748, 39.7968, 14.5700)
Luminance0.3979 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA257 #5784CF
analogous
#CF6657 #CFA257 #C0CF57
triadic
#CFA257 #57CFA2 #A257CF
tetradic
#CFA257 #57CF66 #5784CF #CF57C0
square
#CFA257 #57CF66 #5784CF #CF57C0
split-complementary
#CFA257 #57C0CF #6657CF
monochromatic
#856226 #B58534 #CFA257 #DDBC87 #EAD7B6

Accessibility & contrast

On white

2.34
#CFA257 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#CFA257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA257
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA257#FFFFFF#000000##000000
##CFA2571.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A350
Deuteranopia (green-blind)
#BFAE59
Tritanopia (blue-blind)
#DF9591
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cfa257;
/* rgb */ color: rgb(207, 162, 87);
/* oklch */ color: oklch(73.9% 0.107 78.6);
Tailwind
colors: {
  custom: {
    50: '#e1bd88',
    500: '#cfa257',
    950: '#000000',
  },
}
SCSS
$custom: #cfa257;
$custom-light: #e1bd88;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa257",
  "rgb": {
    "r": 207,
    "g": 162,
    "b": 87
  },
  "hsl": {
    "h": 37.5,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.73856,
    "c": 0.10727,
    "h": 78.6
  },
  "luminance": 0.39794
}

Semantic roles & 50–950 ramp

primary
#CFA257
secondary
#A9BBD9
accent
#81DF49
background
#FEFBF8
surface
#FCF6F0
border
#D5D0CB
text
#16120B
muted
#84817C

Preview Lab

Preview with #CFA257

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

Preview Lab → · Contrast checker → · Palette generator →

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