#CFA838#CFA838

#CFA838 is a light, vivid orange. Relative luminance 0.416; OKLCH L 74.7% C 0.133 H 89.0°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#CFA838
RGBrgb(207, 168, 56)
HSLhsl(45, 61%, 52%)
HSVhsv(45, 73%, 81%)
CMYKcmyk(0%, 18.8%, 72.9%, 18.8%)
CIE-LABlab(70.57, 2.97, 60.14)
CIE-LCHlch(70.57, 60.21, 87.17°)
OKLaboklab(74.74% 0.0024 0.1332)
OKLCHoklch(74.74% 0.133 89)
XYZxyz(40.4509, 41.5588, 9.6317)
Luminance0.4156 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA838 #385FCF
analogous
#CF5D38 #CFA838 #ABCF38
triadic
#CFA838 #38CFA8 #A838CF
tetradic
#CFA838 #38CF5D #385FCF #CF38AB
square
#CFA838 #38CF5D #385FCF #CF38AB
split-complementary
#CFA838 #38ABCF #5D38CF
monochromatic
#715B1B #A38327 #CFA838 #DBBE69 #E7D39B

Accessibility & contrast

On white

2.26
#CFA838 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#CFA838 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA838
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA838#FFFFFF#000000##000000
##CFA8381.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA627
Deuteranopia (green-blind)
#C5B13E
Tritanopia (blue-blind)
#E09A92
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cfa838;
/* rgb */ color: rgb(207, 168, 56);
/* oklch */ color: oklch(74.7% 0.133 89.0);
Tailwind
colors: {
  custom: {
    50: '#e2c176',
    500: '#cfa838',
    950: '#000000',
  },
}
SCSS
$custom: #cfa838;
$custom-light: #e2c176;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa838",
  "rgb": {
    "r": 207,
    "g": 168,
    "b": 56
  },
  "hsl": {
    "h": 44.503,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.7474,
    "c": 0.13318,
    "h": 89
  },
  "luminance": 0.41556
}

Semantic roles & 50–950 ramp

primary
#CFA838
secondary
#90A1D3
accent
#6DE444
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CFA838

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

Preview Lab → · Contrast checker → · Palette generator →

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