#CBA74F#CBA74F

#CBA74F is a light, moderate orange. Relative luminance 0.409; OKLCH L 74.4% C 0.115 H 87.1°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#CBA74F
RGBrgb(203, 167, 79)
HSLhsl(43, 54%, 55%)
HSVhsv(43, 61%, 80%)
CMYKcmyk(0%, 17.7%, 61.1%, 20.4%)
CIE-LABlab(70.11, 3.11, 49.50)
CIE-LCHlch(70.11, 49.60, 86.40°)
OKLaboklab(74.35% 0.0059 0.1144)
OKLCHoklch(74.35% 0.115 87.1)
XYZxyz(39.8606, 40.9008, 13.1907)
Luminance0.4090 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CBA74F #4F73CB
analogous
#CB694F #CBA74F #B1CB4F
triadic
#CBA74F #4FCBA7 #A74FCB
tetradic
#CBA74F #4FCB69 #4F73CB #CB4FB1
square
#CBA74F #4FCB69 #4F73CB #CB4FB1
split-complementary
#CBA74F #4FB1CB #694FCB
monochromatic
#7B6224 #AA8832 #CBA74F #D9BF7E #E7D6AD

Accessibility & contrast

On white

2.29
#CBA74F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#CBA74F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CBA74F
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CBA74F#FFFFFF#000000##000000
##CBA74F1.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A646
Deuteranopia (green-blind)
#C1AF52
Tritanopia (blue-blind)
#DB9A93
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cba74f;
/* rgb */ color: rgb(203, 167, 79);
/* oklch */ color: oklch(74.4% 0.115 87.1);
Tailwind
colors: {
  custom: {
    50: '#dec083',
    500: '#cba74f',
    950: '#000000',
  },
}
SCSS
$custom: #cba74f;
$custom-light: #dec083;
$custom-dark: #000000;
JSON
{
  "hex": "#cba74f",
  "rgb": {
    "r": 203,
    "g": 167,
    "b": 79
  },
  "hsl": {
    "h": 42.581,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.7435,
    "c": 0.11457,
    "h": 87.1
  },
  "luminance": 0.40898
}

Semantic roles & 50–950 ramp

primary
#CBA74F
secondary
#A1B0D5
accent
#75DE4A
background
#FEFBF8
surface
#FCF7EF
border
#D5D0CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CBA74F

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

Preview Lab → · Contrast checker → · Palette generator →

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