#CFB35C#CFB35C

#CFB35C is a light, moderate yellow. Relative luminance 0.463; OKLCH L 77.3% C 0.112 H 91.8°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).

Color values

HEX#CFB35C
RGBrgb(207, 179, 92)
HSLhsl(45, 55%, 59%)
HSVhsv(45, 56%, 81%)
CMYKcmyk(0%, 13.5%, 55.6%, 18.8%)
CIE-LABlab(73.73, -0.59, 47.54)
CIE-LCHlch(73.73, 47.54, 90.72°)
OKLaboklab(77.34% -0.0035 0.1116)
OKLCHoklch(77.34% 0.112 91.8)
XYZxyz(43.7858, 46.2804, 16.7498)
Luminance0.4628 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB35C #5C78CF
analogous
#CF795C #CFB35C #B1CF5C
triadic
#CFB35C #5CCFB3 #B35CCF
tetradic
#CFB35C #5CCF79 #5C78CF #CF5CB1
square
#CFB35C #5CCF79 #5C78CF #CF5CB1
split-complementary
#CFB35C #5CB1CF #795CCF
monochromatic
#887128 #B89836 #CFB35C #DDC98B #EBDFBB

Accessibility & contrast

On white

2.05
#CFB35C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.26
#CFB35C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB35C
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB35C#FFFFFF#000000##000000
##CFB35C1.002.0510.2610.26
#FFFFFF2.051.0021.0021.00
#00000010.2621.001.001.00
##00000010.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B054
Deuteranopia (green-blind)
#CAB95F
Tritanopia (blue-blind)
#DEA79F
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cfb35c;
/* rgb */ color: rgb(207, 179, 92);
/* oklch */ color: oklch(77.3% 0.112 91.8);
Tailwind
colors: {
  custom: {
    50: '#e0c98c',
    500: '#cfb35c',
    950: '#000000',
  },
}
SCSS
$custom: #cfb35c;
$custom-light: #e0c98c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb35c",
  "rgb": {
    "r": 207,
    "g": 179,
    "b": 92
  },
  "hsl": {
    "h": 45.391,
    "s": 54.502,
    "l": 58.627
  },
  "oklch": {
    "l": 0.77338,
    "c": 0.11167,
    "h": 91.8
  },
  "luminance": 0.46278
}

Semantic roles & 50–950 ramp

primary
#CFB35C
secondary
#ADB8DA
accent
#6EDE4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFB35C

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

Preview Lab → · Contrast checker → · Palette generator →

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