#CF9838#CF9838

#CF9838 is a light, vivid orange. Relative luminance 0.360; OKLCH L 71.6% C 0.128 H 77.7°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#CF9838
RGBrgb(207, 152, 56)
HSLhsl(38, 61%, 52%)
HSVhsv(38, 73%, 81%)
CMYKcmyk(0%, 26.6%, 72.9%, 18.8%)
CIE-LABlab(66.53, 11.57, 56.12)
CIE-LCHlch(66.53, 57.30, 78.35°)
OKLaboklab(71.57% 0.0273 0.1246)
OKLCHoklch(71.57% 0.128 77.7)
XYZxyz(37.6767, 36.0103, 8.7069)
Luminance0.3601 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF9838 #386FCF
analogous
#CF4D38 #CF9838 #BBCF38
triadic
#CF9838 #38CF98 #9838CF
tetradic
#CF9838 #38CF4D #386FCF #CF38BB
square
#CF9838 #38CF4D #386FCF #CF38BB
split-complementary
#CF9838 #38BBCF #4D38CF
monochromatic
#71521B #A37627 #CF9838 #DBB269 #E7CB9B

Accessibility & contrast

On white

2.56
#CF9838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#CF9838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF9838
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF9838#FFFFFF#000000##000000
##CF98381.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A2B
Deuteranopia (green-blind)
#BAA73B
Tritanopia (blue-blind)
#E18984
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #cf9838;
/* rgb */ color: rgb(207, 152, 56);
/* oklch */ color: oklch(71.6% 0.128 77.7);
Tailwind
colors: {
  custom: {
    50: '#e2b674',
    500: '#cf9838',
    950: '#000000',
  },
}
SCSS
$custom: #cf9838;
$custom-light: #e2b674;
$custom-dark: #000000;
JSON
{
  "hex": "#cf9838",
  "rgb": {
    "r": 207,
    "g": 152,
    "b": 56
  },
  "hsl": {
    "h": 38.146,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.7157,
    "c": 0.12758,
    "h": 77.7
  },
  "luminance": 0.36007
}

Semantic roles & 50–950 ramp

primary
#CF9838
secondary
#90A8D3
accent
#7EE444
background
#FEFBF7
surface
#FDF6ED
border
#D5D0C8
text
#161109
muted
#84807B

Preview Lab

Preview with #CF9838

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

Preview Lab → · Contrast checker → · Palette generator →

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