#CFB35F#CFB35F

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

Color values

HEX#CFB35F
RGBrgb(207, 179, 95)
HSLhsl(45, 54%, 59%)
HSVhsv(45, 54%, 81%)
CMYKcmyk(0%, 13.5%, 54.1%, 18.8%)
CIE-LABlab(73.76, -0.35, 46.12)
CIE-LCHlch(73.76, 46.12, 90.44°)
OKLaboklab(77.38% -0.0025 0.1088)
OKLCHoklch(77.38% 0.109 91.3)
XYZxyz(43.9195, 46.3339, 17.4542)
Luminance0.4633 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB35F #5F7BCF
analogous
#CF7B5F #CFB35F #B3CF5F
triadic
#CFB35F #5FCFB3 #B35FCF
tetradic
#CFB35F #5FCF7B #5F7BCF #CF5FB3
square
#CFB35F #5FCF7B #5F7BCF #CF5FB3
split-complementary
#CFB35F #5FB3CF #7B5FCF
monochromatic
#8A7229 #B99938 #CFB35F #DDC98E #EBE0BD

Accessibility & contrast

On white

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

On black

10.27
#CFB35F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB35F
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB35F#FFFFFF#000000##000000
##CFB35F1.002.0510.2710.27
#FFFFFF2.051.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B157
Deuteranopia (green-blind)
#CAB962
Tritanopia (blue-blind)
#DEA7A0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cfb35f;
/* rgb */ color: rgb(207, 179, 95);
/* oklch */ color: oklch(77.4% 0.109 91.3);
Tailwind
colors: {
  custom: {
    50: '#e0c98e',
    500: '#cfb35f',
    950: '#000000',
  },
}
SCSS
$custom: #cfb35f;
$custom-light: #e0c98e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb35f",
  "rgb": {
    "r": 207,
    "g": 179,
    "b": 95
  },
  "hsl": {
    "h": 45,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.77377,
    "c": 0.10885,
    "h": 91.3
  },
  "luminance": 0.46332
}

Semantic roles & 50–950 ramp

primary
#CFB35F
secondary
#AFBADB
accent
#6FDD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D

Preview Lab

Preview with #CFB35F

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

Preview Lab → · Contrast checker → · Palette generator →

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