#CFB35B#CFB35B

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

Color values

HEX#CFB35B
RGBrgb(207, 179, 91)
HSLhsl(46, 55%, 58%)
HSVhsv(46, 56%, 81%)
CMYKcmyk(0%, 13.5%, 56%, 18.8%)
CIE-LABlab(73.72, -0.67, 48.01)
CIE-LCHlch(73.72, 48.01, 90.80°)
OKLaboklab(77.33% -0.0039 0.1125)
OKLCHoklch(77.33% 0.113 92)
XYZxyz(43.7423, 46.2631, 16.5211)
Luminance0.4626 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB35B #5B77CF
analogous
#CF795B #CFB35B #B1CF5B
triadic
#CFB35B #5BCFB3 #B35BCF
tetradic
#CFB35B #5BCF79 #5B77CF #CF5BB1
square
#CFB35B #5BCF79 #5B77CF #CF5BB1
split-complementary
#CFB35B #5BB1CF #795BCF
monochromatic
#887128 #B79836 #CFB35B #DDC98A #EBDFBA

Accessibility & contrast

On white

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

On black

10.25
#CFB35B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB35B
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB35B#FFFFFF#000000##000000
##CFB35B1.002.0510.2510.25
#FFFFFF2.051.0021.0021.00
#00000010.2521.001.001.00
##00000010.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfb35b;
/* rgb */ color: rgb(207, 179, 91);
/* oklch */ color: oklch(77.3% 0.113 92.0);
Tailwind
colors: {
  custom: {
    50: '#e0c98c',
    500: '#cfb35b',
    950: '#000000',
  },
}
SCSS
$custom: #cfb35b;
$custom-light: #e0c98c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb35b",
  "rgb": {
    "r": 207,
    "g": 179,
    "b": 91
  },
  "hsl": {
    "h": 45.517,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.77326,
    "c": 0.1126,
    "h": 92
  },
  "luminance": 0.46261
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CFB35B

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

Preview Lab → · Contrast checker → · Palette generator →

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