#CFB35D#CFB35D

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

Color values

HEX#CFB35D
RGBrgb(207, 179, 93)
HSLhsl(45, 54%, 59%)
HSVhsv(45, 55%, 81%)
CMYKcmyk(0%, 13.5%, 55.1%, 18.8%)
CIE-LABlab(73.74, -0.51, 47.07)
CIE-LCHlch(73.74, 47.07, 90.63°)
OKLaboklab(77.35% -0.0032 0.1107)
OKLCHoklch(77.35% 0.111 91.7)
XYZxyz(43.8298, 46.2980, 16.9816)
Luminance0.4630 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB35D #5D79CF
analogous
#CF7A5D #CFB35D #B2CF5D
triadic
#CFB35D #5DCFB3 #B35DCF
tetradic
#CFB35D #5DCF7A #5D79CF #CF5DB2
square
#CFB35D #5DCF7A #5D79CF #CF5DB2
split-complementary
#CFB35D #5DB2CF #7A5DCF
monochromatic
#897129 #B89837 #CFB35D #DDC98C #EBDFBB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFB35D#FFFFFF#000000##000000
##CFB35D1.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)
#C3B055
Deuteranopia (green-blind)
#CAB960
Tritanopia (blue-blind)
#DEA79F
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cfb35d;
/* rgb */ color: rgb(207, 179, 93);
/* oklch */ color: oklch(77.4% 0.111 91.7);
Tailwind
colors: {
  custom: {
    50: '#e0c98d',
    500: '#cfb35d',
    950: '#000000',
  },
}
SCSS
$custom: #cfb35d;
$custom-light: #e0c98d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb35d",
  "rgb": {
    "r": 207,
    "g": 179,
    "b": 93
  },
  "hsl": {
    "h": 45.263,
    "s": 54.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.77351,
    "c": 0.11074,
    "h": 91.7
  },
  "luminance": 0.46296
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFB35D

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

Preview Lab → · Contrast checker → · Palette generator →

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