#CF9D38#CF9D38

#CF9D38 is a light, vivid orange. Relative luminance 0.377; OKLCH L 72.5% C 0.129 H 81.3°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#CF9D38
RGBrgb(207, 157, 56)
HSLhsl(40, 61%, 52%)
HSVhsv(40, 73%, 81%)
CMYKcmyk(0%, 24.2%, 72.9%, 18.8%)
CIE-LABlab(67.78, 8.87, 57.37)
CIE-LCHlch(67.78, 58.05, 81.21°)
OKLaboklab(72.55% 0.0194 0.1273)
OKLCHoklch(72.55% 0.129 81.3)
XYZxyz(38.5054, 37.6677, 8.9832)
Luminance0.3766 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9D38 #386ACF
analogous
#CF5138 #CF9D38 #B6CF38
triadic
#CF9D38 #38CF9D #9D38CF
tetradic
#CF9D38 #38CF51 #386ACF #CF38B6
square
#CF9D38 #38CF51 #386ACF #CF38B6
split-complementary
#CF9D38 #38B6CF #5138CF
monochromatic
#71551B #A37A27 #CF9D38 #DBB569 #E7CE9B

Accessibility & contrast

On white

2.46
#CF9D38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.53
#CF9D38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9D38
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9D38#FFFFFF#000000##000000
##CF9D381.002.468.538.53
#FFFFFF2.461.0021.0021.00
#0000008.5321.001.001.00
##0000008.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19E2A
Deuteranopia (green-blind)
#BDAA3C
Tritanopia (blue-blind)
#E18E88
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cf9d38;
/* rgb */ color: rgb(207, 157, 56);
/* oklch */ color: oklch(72.5% 0.129 81.3);
Tailwind
colors: {
  custom: {
    50: '#e2b975',
    500: '#cf9d38',
    950: '#000000',
  },
}
SCSS
$custom: #cf9d38;
$custom-light: #e2b975;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9d38",
  "rgb": {
    "r": 207,
    "g": 157,
    "b": 56
  },
  "hsl": {
    "h": 40.132,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.72547,
    "c": 0.12876,
    "h": 81.3
  },
  "luminance": 0.37665
}

Semantic roles & 50–950 ramp

primary
#CF9D38
secondary
#90A6D3
accent
#79E444
background
#FEFBF7
surface
#FDF6ED
border
#D5D0C8
text
#161109
muted
#84807B

Preview Lab

Preview with #CF9D38

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

Preview Lab → · Contrast checker → · Palette generator →

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